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

    how to have x number of lines show when they choose an option?

    Asked by quickloan on June 08, 2014 at 05:28 PM

    I am trying to figure out a way to have a certain number of lines show.

    When the user chooses passengers and he clicks 1 there should only be one line available.

    when the user chooses 2 passengers, there needs to be 2 lines of areas to fill in for the user. 

    3 lines, etc, 4 lines, etc, 5 lines etc.

    many thanks for your help in advace. talk soon. thanks!

    Page URL:
    http://www.z3technologies.com/preview/lstravel/submit-a-payment.htm

    show multiple multiple lines multiple options collapse condition condition logic
  • Profile Image
    JotForm Support

    Answered by jonathan on June 08, 2014 at 05:57 PM

    Hi,

    I recommend using the method described on this user guide

    -How-to-Hide-or-Show-Multiple-Fields-at-Once-Based-On-a-Single-Conditional-Entry

     

    Here is a demo form you can check http://www.jotformpro.com/form/23088518389971?

    In the demo form, increaseing the "number of guest" will show new available "lines"

     

    Hope this help. Inform us if you need further assistance.

     

    Thanks!