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 dynamically show fields in form according to number inputted?

    Asked by swentzell on July 07, 2016 at 02:55 PM

    Looking to collect the following data: Number of cards to be issued

    From there, depending on the digit entered, that many new fields for name, email, etc pop up.

    So if they say 4, then 4 spots to input the data can show.  Does this exist?

     

    Thanks!!

    shown fields shown numerical name thanks then email
  • Profile Image
    JotForm Support

    Answered by Nik_C on July 07, 2016 at 04:29 PM

    Unfortunately, there is no way to show such fields dynamically. The only way to do that is to use Conditions. But for that to work you'll have to create all fields on your form, hide them and then according to value in text-box(number) it will show that number of fields. 

    So the workflow would be:

    1. You create some number of all blocks with fields that you need, name, email, address etc.

    2. You create one number field.

    3. Your customer puts the number in that field.

    4. You create conditional logic that will number of blocks according to the number in number field.

     

    I'm not sure if that can work for you, please let us know if it can and if you need further assistance.

    Thank you!