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

    Allow user to enter text after selecting product quantity

    Asked by BenitaGAsher on May 09, 2017 at 01:36 PM

    This must be possible, but I can't find an example quite like this. I am selling two products, with two different prices using PayPal payments. I need to allow user to enter two strings of custom text for every product ordered, but I need to allow a quantity for each product. Sort of like this:

    Medium Pinwheels $10 each Qty __2__
    Large Pinwheels $20 each Qty __3__

    For every pinwheel ordered, need two text fields to appear for personalized info (ideally it would be conditional and only show as many fields as total quantity entered above:

    Recipient__________   Optional sentiment (5 words max)______________

    Recipient__________   Optional sentiment (5 words max)______________

    Recipient__________   Optional sentiment (5 words max)______________

    Recipient__________   Optional sentiment (5 words max)______________

    Recipient__________   Optional sentiment (5 words max)______________

     

    So far this is all I have but it is not much: https://www.jotform.com/build/71284593153156

    Page URL:
    https://www.jotform.com/build/71284593153156

  • Profile Image
    JotForm Support

    Answered by Mike on May 09, 2017 at 03:32 PM

    Unfortunately, we cannot fully automate this. You might consider the following options.

    1) Use an Infinite List widget to allow users to add as many fields as they need.

    2) Or, use conditional logic on form to show standard fields based on select quantities.

    The downside is that you cannot generate the fields and conditions automatically. You will need to manually add a field and condition for each quantity.

    etc.

    In other words, 30 products = 30 added fields and 30 conditions. Also, you will need to separate products on your payment field to be able to add those show conditions.