What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Include hidden field values on submissionsAsked by tracyalexander on April 20, 2016 at 04:55 PM
I have my form set up so if cattle is selected then total number of cattle entries must be filled. I want this to work backwards as well so if there is a number in total number of cattle entries that cattle entries must be selected in what entries do you wish to enter question. If not there is the possibility that people could tick for cattle entries, input data and total number of cattle entries then remove the tick by accident and the data does not show on submission form
Advice would be much appreciated
Please take note that hidden fields through a condition are excluded on submissions by default. That is the reason why they are not shown on submissions. If you want to include them on submissions despite its status hidden or not, follow these steps.
1. While you are in edit mode, click Preferences button in the top toolbar
2. Go to Advanced tab
3. Click Show More button then set "Don't Clear" on Clear Hidden Field Values.
Hope this helps!
Let us know if you have more questions.
Sorry I was not clear. What I want is if someone enters information in the cattle section but then removes the tick from selecting cattle as an entry I want an error to come up
In order to display a custom error message based on such a condition, all you would need to do is add 1 show/hide condition, and add 1 Text field to your form (which will hold the error message).
You can place the error message (Text field) just under your "What entries do you wish to compete" field:
Then, you could set up a condition so that:
IF "What entries do you wish to compete" is NOT equal to cattle
IF "Total number of cattle entries" is filled
SHOW Text field containing the error message
You can see a demo of this conditional error message set up here:
Let us know if you need any further assistance in setting it up, Tracy, we'll be happy to help.
I have set this up for every entry type - thank you.
Is there a way to not allow the user to move onto the next page of my form if any of these error messages are showing?
Yes, you could add a hide action inside that same conditional rule, and use it to hide the Next button (Page Break). This means that when the error field is shown, button for navigating to the next page would be hidden.
You can add the hide action to your conditional rules by clicking on the little plus sign next to the show action:
Please let us know if you need any further assistance, we'll be happy to help.