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 can I make a dynamic textbox respond to a drop down

    Asked by FloridaDreamHomes on January 12, 2016 at 03:23 PM

    What I am trying to do is create a drop down that asks "How many people" and when they select an option, that hypothetically say "7" There are 7 text boxes below to type in each individuals names. I understand that it is possible to use widgets to dynamically add textboxes individually, but I would like it to be controlled via a drop down menu.

     

    Thank you for any help you can offer.

    textbox dynamic textbox Make how
  • Profile Image
    JotForm Support

    Answered by Kevin_G on January 12, 2016 at 05:25 PM

    Hi,

    Thank you for contacting us.

    As you say, there are some widgets that can help you to add or remove text boxes in your form.

    However, if you want to do it using a drop down, you will need to add all the text boxes in your form, for example, if you want to have the option of 7 in "How many people", you will need to add 7 text boxes, then you will be able to show/hide them dynamically based on the selection, just follow this guide to do it :  http://www.jotform.com/help/316-How-to-show-or-hide-a-field-in-the-form-based-on-the-other-field-input-or-selection 

    Hope this will help you.

    Regards.