How to hide checkbox options based on a calculation field?

  • FriendsSchool
    Asked on March 22, 2019 at 1:29 AM

    Hi,

    I have a form that I am building for bus bookings.  I am asking the user to input how many people they require for the booking, which is based on two number fields calculated and then I would like to show/hide a checkbox selection of the buses that meet their numbers.

    Is this possible?

    Cheers,

    Emily

  • Nik_C
    Replied on March 22, 2019 at 3:14 AM

    You can achieve that with conditional logic and show/hide condition:

    1553238720Screen Shot 2019 03 22 at 8 Screenshot 10

    So you could set a condition to show/hide a checkbox based on a calculation.

    More about conditions you can check here: https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    Thank you!

  • FriendsSchool
    Replied on March 22, 2019 at 3:48 AM

    Hi,

    Thanks for your reply.  Sorry, I should have been more specific, could I show/hide just one or more of the options in one multiple choice checkbox question?

    Cheers,

    Emily


  • Nik_C
    Replied on March 22, 2019 at 4:14 AM

    I'm afraid that is not possible since it's one field's options.

    But you could do this:

    Create multiple checkbox fields with one (or more) options missing in each, and then conditionally show each:

    For example, you could create two checkboxes like:

    15532421162019 03 22 9 07 12 Screenshot 10

    In first option 3 is missing and in second option 4 is missing.

    So, based on your condition, you could show each one appropriately, and others will be hidden at the same time.

    Could that work for you?