Control number of additional pages according to dropdown menu

  • mandraek
    Asked on June 1, 2015 at 12:54 PM

    Hi, I wanted a solution to providing pages on answer to a dropdown menu

    It is a booking form, but the client can book in 1-4 cats, currently they have to leave a blank page(s) if they only have one cat to board (3 pages are left blank)

    I wondered if there was a way to provide the correct amount of pages according to the number of cats they choose to board (from drop down menu)

     

    Many thanks for an excellent form solution, so far it has been a delight to use

  • David JotForm Support
    Replied on June 1, 2015 at 2:28 PM

    Hi,

    This is indeed possible.  Rather than using pages, you could have form collapses that are conditionally shown based on a selection made in a dropdown.  In the case of your form, the number of cats.

    Replace your page breaks with form collapses and set them up as such:

    Control number of additional pages according to dropdown menu Image 1 Screenshot 40

    Add in a dropdown for selecting the number of cats, then setup conditions to show the appropriate form collapses based on the dropdown selection:

    Control number of additional pages according to dropdown menu Image 2 Screenshot 51

    With all the conditions it would look like this:

    Control number of additional pages according to dropdown menu Image 3 Screenshot 62

    This is the resulting form:

    http://support.jotform.com/form/51515776074964

    You can clone it to see the setup:

    http://www.jotform.com/help/42-How-to-clone-an-existing-form-from-a-URL

    If you have any questions about this, just let us know and we will be happy to help.

  • mandraek
    Replied on June 1, 2015 at 2:51 PM

    Fantastic, thanks!

  • David JotForm Support
    Replied on June 1, 2015 at 4:02 PM

    You are very welcome, we are here to help.  I just noticed that in my example I added a new dropdown for the number of cats.  I didn't notice you already had one.  You can do the same setup but use your current dropdown if you would like.

    If there is anything else we can help you with or if you have any trouble getting this set up, just let us know.

  • mandraek
    Replied on June 1, 2015 at 4:44 PM

    Glad you noticed that! I missed it!