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 collect the name based on the quantity input of payment question.

    Asked by tnpc on May 13, 2014 at 02:09 AM

    In this particular form I collect the main contact information at the top and then sell different levels of registrations. I need to collect the names they want on their badges. How can I make it dynamic so it pick up the names they fill in and offer them the quantities correctly.

    Example I may get 2 adult entries so I need to collect two badge names. Then have 1 child entry and only need to collect one name there.

    Is this doable?

    The other way I have seen it done is to have a drop downlist of the products then the badge name next to that. That means if they want two adults they would have to choose from two different drop down lists.

    Any help is appreciated.

    Dan

    Page URL:
    http://form.jotform.us/form/41320702188144

    registration form name next different fill
  • Profile Image
    JotForm Support

    Answered by ashwin_d on May 13, 2014 at 09:24 AM

    Hello Dan,

    It is not possible to dynamically create textboxes to accept label input based on the input value of the quantity field of your product question. 

    I would suggest an alternative solution to you where you can add "Matrix Dynamique" or "Dynamic Fields" widget in your from and show/hide the widget based on the selection of your product. Please be noted that it won't be possible to track or restrict the number of rows in the matrix dynamique or dynamic fields widget.

    Please take a look at the following cloned form and see if this solution will meet your requirement:  http://form.jotformpro.com/form/41323570140946? When the product is selected, it will automatically display the textbox to input label and you can add on "Add more label" as well. Feel free to clone this form for a closer look. The following guide should help you in form cloning:  http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image

    Answered by tnpc on May 20, 2014 at 04:47 PM

    Excuse the delay getting back to you.

    Thank you very much. Not perfect but useable for now. This is a short term form and not worth putting a lot of work into.

    I cloned it and am up and running.

    Thank you again.