Smart Forms Using Conditional Logic

  • Profile Image
    Asked 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

  • Profile Image
    Answered on May 21, 2013 at 11:03 AM


    Thanks for contacting us!

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



  • Profile Image
    Answered on May 21, 2013 at 11:21 AM


    Here's the cloned form of your form.

    The conditions I used are:



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



  • Profile Image
    Answered 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

    Thanks you for your help.


  • Profile Image
    Answered on May 21, 2013 at 06:54 PM


    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.

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