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.


  • Profile Image

    Conditionals stopped working after I added a certain number of them. Help?

    Asked by marvincoklow on December 03, 2011 at 04:25 PM

    I have a form that requires extensive use of conditionals. After I put in a large number of them, new ones that I put in don't seem to work anymore.

    Further details: It is a job application. For each previous employer, the person clicks a radio button to say "Add previous employer," and then the fields appear for them to add all the information about a previous employer. But at the fourth employer, the fields start showing up even when I say to hide them. I have redone and redone the conditionals so I'm sure I'm not making any mistakes like selecting the wrong field to show or whatever.

  • Profile Image

    Answered by fxr on December 03, 2011 at 07:13 PM

    We really need the form ID/URL . Is it happening on a specific browser or all of them?

  • Profile Image
    JotForm Support

    Answered by abajan on December 03, 2011 at 08:23 PM

    Marvin, those certainly are a lot of conditions! The best I can suggest is to clone the form, delete all of the conditions from the clone and then add them back one-by-one, testing the form's funtionality after adding each one. When the form starts doing unexpected things, you'll know that the last condition added is the culprit. When finished re-inserting the conditions and everything is working correctly, set them up the same way in the original form.

    I realize it all sounds rather tedious but with this method you'll know for sure which conditions are causing the problems. Of course, we'll do our best on our end to track down the rogue conditions.

  • Profile Image

    Answered by marvincoklow on December 04, 2011 at 01:16 PM

    OK, let's just focus on one - the last one I added (it's the last four that aren't working, although they weren't always the last four - they've ended up in that position because I have deleted and added them several times). I deleted it and added it again several times. I tried SHOW IF YES and HIDE IF NOT YES. Nothing hides the field - UNLESS you click "Yes" in the preview screen and then click back to "No" (the default). So it's acting like (1) there's no default and (2) I said HIDE IF NO. But neither of these is true. Can you see what is going on?

    Meanwhile, more strange things have happened with this form. Two key fields - each with 8 conditionals depending on it - were deleted. Then a whole set of conditionals switched which field they were conditional upon. I assume nobody is messing with this from the back end. So what is going on!?

    As an aside, I would not need all these conditions if I could show/hide more than one field at a time! This is a serious flaw in your setup in my opinion. I should be able to say, "IF YES THEN SHOW THESE EIGHT FIELDS." But instead I have to put a condition on each separate field. It's incredibly time-consuming.

    Thank you so much for your help.

  • Profile Image

    Answered by marvincoklow on December 04, 2011 at 01:17 PM

    p.s. fxr form id = 13181759265 and it's happening in the preview. I haven't put it online yet.

  • Profile Image

    Answered by marvincoklow on December 05, 2011 at 01:16 AM

    OK, so I cloned the form and deleted the fields whose conditionals weren't working. Then I previewed it and found that four more conditionals stopped working!!! They were working before!!! I am tearing my hair out here. Please help me!

  • Profile Image
    JotForm Support

    Answered by NeilVicente on December 05, 2011 at 04:58 PM

    Hi Marvin,

    You have quite a lot of conditions in your form. Would you care to specify which exact conditions are not working so that we can inspect your form and find out the cause of the problem in the fastest time possible?

    Regarding your concern about being able to hide/show multiple fields in one condition, it has already been added as a feature request. Our developers will announce when and if that feature gets approved and implemented.

    We'll be looking forward to your prompt feedback about this matter. Thanks!

  • Profile Image

    Answered by marvincoklow on December 05, 2011 at 08:56 PM

    Hi Neil,

    The last four conditions in form 13181759265 are the ones that are not working. (They were not originally the last four; they are now last because I deleted them and added them back in several times).

    Please note that I tried SHOW IF YES and HIDE IF NOT YES and HIDE IF NO, but nothing hides the field - UNLESS you click "Yes" and THEN click back to "No" (the default). So just for these four conditions, it's basically acting like the default is Yes. Can you see what is going on?

    Thank you so much in advance for your assistance!

  • Profile Image

    Answered by fxr on December 06, 2011 at 04:45 PM

    This is quite a difficult issue for us to deal with. There is just so many conditions and desired forms function is only something you really know. 

    My thoughts: is there is a possibility that there is some kind of conflict somewhere in your conditions? 

    i.e do you have a condition that shows a particular field , then another that hides it? In certain (possibly many) circumstances this will give unexpected results. 

    e.g if field 1 = true, then show field 3; if field 2= true, then hide field 3. 

    so if you have field 1 & field 2 both true, field 3 will only obey the last option chosen on the form.

    Take my example form: http://www.jotform.com/form/13392539328 based on the above.

    Its possible, depending on which sequence the options in field 1 & field 2 are chosen to have field 3 shown or hidden when both field 1 & field 2 are true. 

    and

     

     

     

     

    I believe something like this is happening on your form, I suggest, and I know its a painful suggestion, to try and set up the conditions again and try as much as is possible not to have conditions that overlap or conflict, I have found the best way to do this, is concentrate and use on SHOW conditions as much as possible and only use HIDES as a last resort, theorectically it should be possible to configure most forms with only SHOW conditions. 

    -

    On another point, I know you are trying to cover every base and make the form as easy to fill in by its users as possible, but I feel you should think about just how necessary all these conditions really are.

     

  • Profile Image

    Answered by marvincoklow on December 07, 2011 at 12:30 AM

    I figured out what I did wrong. I had duplicated the fields but then I moved the original instead of the duplicate. In effect, I had two conditions on one field and none on another.

    Thanks SO MUCH for your help!