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

    Help with Conditional Statements

    Asked by presetschool on September 04, 2013 at 10:53 AM

    I have used conditional statements on several forms and I do not know if you have made changes.

    Why do the conditionals on the form below not work?

    I am trying to get specific radio lists and checkboxes to show and hide depending on the item selected in the Purpose of Enquiry dropbox.

    CONDITION 1: If Drop Down has not be FILLED or EQUALS 'General Enquiry', hide all the items I want to hide. This works.

    CONDITION 2: If Drop DOwn equals 'Admissions', SHOW some items, HIDE some items, all items show up.

    I have been working with variations of this for an hour. If you tell me what is wrong with this simple scenario, hopefully, I can fix the other scenarios.

     

     

     

    Page URL:
    http://form.jotformpro.com/form/32463807584966

    checkboxes dropbox selected items
  • Profile Image
    JotForm Support

    Answered by guilledutra on September 04, 2013 at 12:15 PM

    Hi,

    in order to use conditions to show/hide multiple fields you should use the form collapse tool under survey tools, basically you define form sections (incluiding more than one field) using the form collapse tool, then using the right conditions you can have the control  which form's section will be shown or hidden.

    Please take a look this user Guide about Showing/Hidding multiple fields using the form collapse tool.

    http://www.jotform.com/help/196-How-to-Hide-or-Show-Multiple-Fields-at-Once-Based-On-a-Single-Conditional-Entry

    Also check this cloned version of your form modified according the user guide

    http://form.jotformpro.com/form/32464574297969 feel free to clone it for your own use

    Hope it helps

    pelase let us know if you need further assistance

    thanks

  • Profile Image

    Answered by pinoytech on September 04, 2013 at 12:36 PM

    Hi,

    Can you please take a look at this clone form if this is something you want to achieve?

    http://www.jotformpro.com/form/32464596737972

    If yes, here's the condition you need:

    If you need further assistance, please let us know.

    Thank you!

  • Profile Image

    Answered by presetschool on September 04, 2013 at 03:08 PM

    Sheepish Grin..... I knew there was a way to do this....

    I will take a look and report back.

    Thanks for the awesome support as usual...

  • Profile Image
    JotForm Support

    Answered by guilledutra on September 04, 2013 at 03:39 PM

    You are welcome,

    please let us know if you need further assistance in order to make your conditions properly work 

    Thanks

  • Profile Image

    Answered by presetschool on September 11, 2013 at 09:08 AM

    Hi pinoytech.

    Sorry I am now trying to implement this. I cloned the example above. I will continue to implement what I need with it and make it work BUT I need to understand conditionals (I had a good grasp, no practice in months, now I seem lost).

    Let's get specific with using only one part of the Conditions in the first conditional section. 

    IF Purpose of Enquiry IS EMPTY HIDE Boarding House 

    It works, but I do not get WHY?

    Where and When did we instruct the other fields (Form of Student, Programme of student.. etc) to also be HIDDEN when Purpose of Enquiry is EMPTY

    Disabling Condtion 2, which basicaly turns everything to show, confounds me more since I mess up your implementation but I still do not see where and why they were hidden and so why Condition 2 being disabled matters?

    Bear with me

    Thanks.... 

     

  • Profile Image

    Answered by EliezerN on September 11, 2013 at 10:36 AM

    Thanks for contacting us.

    I have clobned your form and I've been able to see how the conditions are set.

    The condition:

    If Purpose  of enquiry IS EMPTY, HIDE Boarding House.

    Is the one that makes the Boarding house to hide. 

    Now, the other fields (Form of Student, Programme of student.. etc) are automatically hidden when the condition 2 is set:

    In other words if the conditions says, If "these rules are matched" Then Show "these fields", the word SHOW means that they have been hidden and they will show until some rules are matched. If you want to set a condition to show some field you don't need to set a condition to hide it first, just set the condition to show and if the rule is not matched the field simply won't be shown.

    I hope this helps, however if i've been not cleared enough, don't hesitate to contact us.

    Thanks