What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

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

    Asked by friendspharm on July 07, 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.

    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

    reservation form Guests name then
  • Profile Image
    JotForm Support

    Answered by EltonCris on July 07, 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.

    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.

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

    Regards!