Hello,
I am using the Confluence Deck of Cards macro to create multiple tabs inside a page. In each tab I have different Confiforms. This works perfectly well for almost everything - however one problem I have is that when someone clicks "Submit" on a form in any tab but the first one, the message that I define in the Reg Control macro to display will always only appear at the top of the 1st tab.
Is there any way to fix or workaround this?
Thank you in advance,
Dan
Hi @Dan Behman
Not really familiar with the Deck of Cards macro but I think it is a default behaviour of this macro - it renders the tab it is configured to render initially, when the page loads/reloads
Alex
Thanks for the quick reply (you are amazing by the way - I've searched so many things and found your answers and responses invaluable!!! You seem to have limitless energy in responding to questions and helping people which is highly commendable)
Can you think of any workaround I could use? Its kind of a pain when a user submits a form on say tab 3 but gets no feedback to indicate it was submitted (unless they know enough to go look at tab 1, which usually they do not). I know that I can include HTML in the reg control form message, but I have no idea what to put, if that even makes sense.
Thanks,
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But the erorr message should be shown when the submission fails, right? And that is shown on the first "card", no?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually come to think of it, if there is an error, say some issue with rendering the JSON for example, it will appear on the same card (tab) that the submission was done on (which is quite interesting). Its just the message that is defined here that will only appear on the first deck of cards and not the current one:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you saying this message is displayed on the first car only? I guess, this is where the placeholder for it is rendered by ConfiForms - usually it is placed before the first ConfiForms Field.
Error message is shown on the same card, as there is no page refresh. So, nothing is really re-rendered
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is an example of where the message (Request has been successfully submitted) shows up after Submit is clicked on any other tab .. it seems to be above the Confiform itself.
(note I blotted out words that are unique to my company to be extra cautious :) )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not lost - what is the problem!?
The form is successfully submitted, the page is refreshed and the message is shown... So, what is not right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry if I'm not being clear.
So the screen cap I showed above has 4 tabs (deck of cards):
[blank] BAU
[blank2] BAU,
[blank] Project Work
[blank2] Project Work
What I showed was a screen showing the contents of the first tab after I submitted a Form from the third tab. If I was to show a screen cap of the 3rd tab, it would look the same however the message "Request has been successfully submitted." would not appear there even though that is the tab from which I clicked Submit. I only see that confirmation message when I click back over to the 1st tab.
So the problem is this: my users will submit requests on forms from any one of the 4 tabs ... When they click Submit, they will only ever instantly and easily see the confirmation message if they submit the form on the 1st tab. If they submit on the 2nd, 3rd, or 4th tab, no confirmation message is shown which will lead them to think that the submission did not succeed (regular users will not think to switch over to tab 1 after submitting on tab 3 for example to look for a confirmation message).
Hopefully that makes sense.
I just want the submission confirmation message to appear on whatever tab the user clicks the Submit button on. Similar to how an error or a validation error message shows up on the current tab.
Thanks,
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, you have separate forms in each card!? It is not one form that is configured in different cards, but many forms?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, I see. Thank you for clarifying. I afraid there is no better solution than to have a custom “success message” that tells which form was submitted. It will still be shown in the “first card”
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.