Hotel reservation form for conditional entry of names of guests dependin on the no. of guests

  • friendspharm
    Asked on July 7, 2014 at 10:55 AM

    I need the guests to first enter the number of guests that will be arriving. Then i need that many number of groups of following entry boxes to show up on my reservation form.

    name of guest- text box

    age- text box

    sex- drop down

    address- text area.

    smoking area access reqd( y/n) - radio

     

    please help/ how can it be accomplished

  • Elton Support Team Lead
    Replied on July 7, 2014 at 12:46 PM

    Hi,

    I think it is easier if you're using dynamic fields like configurable list widget. So the user can add as many fields as they want by clicking add more button.

    http://widgets.jotform.com/widget/configurable_list

    Or if you're really looking for a conditional fields then that's still possible with Jotform.

    Here's a guide on how to show multiple fields at once: https://www.jotform.com/help/196-How-to-Hide-or-Show-Multiple-Fields-at-Once-Based-On-a-Single-Conditional-Entry

    To create a number based condition, I would suggest using Spinner tool, it's under Survey Tools.

    Hotel reservation form for conditional entry of names of guests dependin on the no Screenshot 30

    Then use Greater Than as the operator. Example:

    e.g. If Number of Guests is Greater Than 1

             Show Field 1

             Show Field 2

             Show Field 3 ...and so on.

    Hotel reservation form for conditional entry of names of guests dependin on the no Screenshot 41

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

    Regards!