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.
Conditionally required field error remains after condition correctedAsked by bdoodle on March 13, 2015 at 01:02 PM
I have a conditional field requirement as follows:
If the crosscut spinnaker color count calculation field is > 0 (reflecting that the user has specified one or more colors in the crosscut panel fields), I require that the drop down box, Spinnaker Type Ordered, be filled.
When an unconditionally required field is omitted and you hit Submit Form, an error is displayed under the Submit Form buttons. When you fill in the required field, the error message disappears.
When my conditionally required field, Spinnaker Type Ordered, is empty but colors have been specified in the spinnaker color section as indicated by the crosscut spinnaker color count, and you hit Submit Form, the same error is properly displayed under the Submit Form buttons. However, both methods of correcting the situation are problematic:
When I remove the colors in the spinnaker color section which changes the crosscut spinnaker color count so that the conditionally required form is no longer required, the error under the Submit Form buttons remain. The Spinnaker Type Ordered field is no longer highlighted as an error, but the main Submit Form error remains. This is confusing and causes a user to continue looking for some error to fix. I'd like to get this fixed.
When I select a crosscut spinnaker type in Spinnaker Type Ordered, both the field and main errors under Submit Form buttons remain until I click somewhere else. Then all errors appropriately disappear. This is less than ideal, but I can live with this.
My mainsail number and number color fields which are conditionally required based on each other operate in a third way. When the non-empty field that prompted the requirement of the other field is emptied, The required field error immediately goes away, but you must click somewhere else for the main error under the Submit Form buttons to disappear. I can also live with this.
my form is: http://www.jotform.com//?formID=50455070789158
I have created a test form and was able to reproduce the issue.
A bug report ticket has been attached to this thread and forwarded to our Development Team.
We will let you know once we have any updates, however, there is no ETA at the moment.
I have an example of where this continues to occur.
I have a field that appears twice on my forms. Once at the top and once within the contact information section farther down. The second field is populated conditionally when the first field is filled. It's "State / Province". When it's left empty and the form is submitted, an error appears. When I fill it at the top, the red error indicator at the top disappears, but it remains on the field below and the general form error message also remains. This problem occurs in both Chrome and Firefox. Didn't try other browsers. It occurs when the form is embedded via iFrame or the reg script method.
Example forms: http://www.madsails.com/Order_Buccaneer_sails.html or http://www.madsails.com/Order_Laser_sails.html
Please see snippet below:
Since the data is being input automatically, the form does not recognize that an entry was made to the field. Simply clicking in the field that is showing as required will remove the requirement:
If you have any further questions, please create a new thread so that we may address them properly.
In my colleague's name you are welcome.
Do let us know if you have any further questions or issues and we would be happy to assist with them.