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

    Smart Forms Using Conditional Logic

    Asked by Harry on May 21, 2013 at 10:49 AM

    I created a condition on this form.

    If you click on Passports, Visas and Inoculations

    Click on How many Passports...

    0: Hide all

    1: Hide Passports 2, date issued and date expiry.

    2: Show both passports and revelant dates.

     

    Only 0 works the way the rule dictates.

     

    Thank you for your help

    Page URL:
    http://form.myjotform.com/form/31391144745554?

    style size font
  • Profile Image

    Answered by glennlee on May 21, 2013 at 11:03 AM

    Hi,

    Thanks for contacting us!

    I will cloned your form and I will get back to you when I figure the correct conditions.

     

    Regards,

  • Profile Image

    Answered by glennlee on May 21, 2013 at 11:21 AM

    Hi, 

    Here's the cloned form of your form.

    The conditions I used are:

    #1

    #2

    You don't need to set up a condition for passport=0 because the fields are hidden by default.

     

    Thanks!

  • Profile Image

    Answered by harrycweb on May 21, 2013 at 06:02 PM
    Thank you.

    I tried the same settings under Valid Visas but can’t get it to work the way you did.
    I can get 1 and 2 to work properly but not 3 and 4

    I have done the others that have only 2 choices by following you example, thanks.

    I need to do the same for Valid Inoculations, Airlines International.

    If you could these for me I will appreciate it a lot.

    At least I will be able to see the logic behind it for myself and be able to do it myself next time.

    The link is http://form.jotformpro.com/form/31406365500949

    Thanks you for your help.

    Harry



  • Profile Image
    JotForm Support

    Answered by Welvin on May 21, 2013 at 06:54 PM

    Hi,

    I suggest you to use Spinner Field under "Survey Tools" and set conditional logic like this one:

    Use if field is "Greater Than" 0, 1, 2 and so on.

    I've made the changes to this cloned version of your form, please kindly cloned back (How to Clone a Form) and see how I made them to work.

    http://form.jotformpro.com/form/31407208417953?

    You may also use this guide for grouping fields: How to Hide or Show Multiple Fields at Once Based On a Single Conditional Entry

    Thanks