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

    PayPal Error: Invalid Quantity Value

    Asked by standrewstampa on January 16, 2015 at 08:44 AM


    We are getting the error below from PayPal when any of the products with quantity are selected:
    "You have entered an invalid quantity value. A quantity value must be an integer greater than or equal to one."

    I already read the post, "PayPal - Quantity Does Not Work" from your support forum but I don't think I have the same issue. I did customize the form but I cannot find where the problem is in the code.


    Page URL:

  • Profile Image
    JotForm Support

    Answered by jonathan on January 16, 2015 at 09:03 AM

    Hi Vic,

    I can see that you had embedded your jotform http://www.jotform.us/form/42981248876167

    on the website using its full source code.

    There is a high possibility that the embedded form source code is NOT update anymore to the current version of the form.

    I suggest you re-embed again the form after gathering again its full source code into  your website.

    Can you please tell us also why you need to use its full source code instead of the default short script embed code?

    Using the default embed code, will eliminate the hassle of re-embedding the  full source code every time you update the form.

    Let us know if you need further assistance.





  • Profile Image

    Answered by standrewstampa on January 16, 2015 at 09:24 AM

    We use the full source code because of customization limitations in the form builder, particularly in the products section where we needed to create radio button options and some text blocks. Looking at the form, does it look like we can build it in the form builder?

  • Profile Image

    Answered by Ben on January 16, 2015 at 09:59 AM


    Looking at it, I believe that you could do the same.

    The only thing with it would be that it would probably require some CSS codding skills to make it all fall into place, but if needed, we are here and happy to assist :)

    I would suggest this guide: How to Have Sub-Category or Sub-Labels on an Order Form

    It might give you an idea on how to approach this.

    Do let us know if you have any further questions and we would be happy to assist you with them.

    Best Regards,

  • Profile Image

    Answered by standrewstampa on January 16, 2015 at 10:16 AM

    Thank you, I read the post for Sub-Labels and although that addresses the text blocks, it also says that I do have to use the source code in our site due to the radio buttons.

    I have updated the source code on our site and continue to get the PayPal error. What do I need to do to get someone to review our source code and troubleshoot the error?

  • Profile Image

    Answered by Ben on January 16, 2015 at 12:11 PM


    The part with the source code only uses source code to show you how to get the right elements to style.

    Now, I did miss the radio buttons being part of the payment processing tool, but there is another guide that can help you with that.

    Please take a look here: How to pass a calculation to a payment field

    What it does is that it will capture the values and make the calculations based on them and then simply pass the value to the payment processing tool. This will allow you to collect the values from many different fields and widgets (not only checkboxes and radio buttons).

    I would suggest taking a look at following guides as well:

    How to Assign Calculation Value

    How to perform calculation in the form?

    Best Regards,