how to show multiple fields by conditions

  • Profile Image
    smileinfo
    Asked on October 09, 2012 at 11:17 PM

    i want to have this condition:

    I have selection of Passenger Number 1, 2, 3, 4, etc

    if i select 1 then show 1 Name field, is i select 2 then show 2 name field, and so on...

    But now i can only make until 2 selection. how to make 3 or 4 selection will show 3 then 4 name fields? how to make that kind of conditions?

    thanks

  • Profile Image
    fxr
    Answered on October 10, 2012 at 03:52 AM

    Hi,

    You have to set up multiple conditions such as that described below: 

    e.g 

    If option 1 or option 2 or option 3 or option 4, show 'name 1' field

    then another condition

    If option 1 or option 2 or option 3 or option 4, show 'email 1' field 

    --

    If option 2 or option 3 or option 4, show 'name 2' field

    then another condition

    If option 2 or option 3 or option 4, show 'email 2' field 

    --

    Option 3 or Option 4 show 'name 3' field.

    Option 3 or Option 4 show 'email 3' field.

    --

    Option 4 show 'name 4' field.

    Option 4 show 'email 4' field.

    --

    I have omitted screenshots for the last 4 conditions but I am hoping I have shown enough for you to get the logic.

    Please let us know if you need any more help understanding how to set this up.

     

  • Profile Image
    smileinfo
    Answered on October 16, 2012 at 12:07 AM

    Hi,

    Thank you for your reply, but i think this is not solve my problem...

    What i want is like this, 1 Condition show many fields. Sample:

    If "Jumlah Penumpang" equals to "4" Then shows 4 name fields

    If "Jumlah Penumpang" equals to "6" Then shows 6 name fields, and so on...

  • Profile Image
    jonathan
    Answered on October 16, 2012 at 12:55 AM

    @smileinfo

    Hi, unfortunatelly, the Condition Logic could not do the 1 "IF" to many "Then" rules yet. There was already a feature request to update this feature. We can only wait for the time when the feature will be released.

    For the meantime, I think you can duplicate the "if" rules with 1 "then" repeatedly and just changed the result field (different Nama).

    Hope this help clarifies it. Please inform us if you have further inquiry.

    Thanks.

  • Profile Image
    idarktech
    Answered on October 16, 2012 at 03:45 AM

    @smileinfo

    My suggestion is to use "Spinner" tool it's under Survey Tools. With this, you only need to create 9 conditions for showing/hiding the 10 fields. To do that, you have to use "Greater Than" condition. Example:

     

    Just create for the other remaining fields.

     

    Demo Form: http://form.jotformpro.com/form/22886773026967?

    Hope this helps. Thanks!

  • Profile Image
    smileinfo
    Answered on October 16, 2012 at 10:52 AM

    wow.. idarktech thank you.. you are my savior... it works well. =)