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

    Submission Limit with PayPal Integration

    Asked by indianacrc on February 17, 2016 at 04:12 AM


    I am creating a form or possibly multiple page form that will be integrated with PayPal to accept payment for a ticket to an event. There is a limited number of spaces for each of these events and I want that particular choice to be voided out after so many are purchased.

    Breaking down the options, I have two different venues. When one of those venues is selected it shows (on the same form at the moment, might go multiple page form if it works better that way for submission limit / PayPal integration) That particular venue and then which day for that venue? Based on which venue + day combo is selected will bring up a choice between four (4) events they can purchase. Each event is equal to the other options on the same venue + day combo except for Sunday, where I have it broken down into predetermined prices.

    I want to limit each "LOS" event to 1680 purchases and each "BLF" event to 800 purchases before it automatically voids that selection. Is there a way to do this?

    The form is located here: https://form.jotform.com/60472313202138

    Thanks for your help!

  • Profile Image
    JotForm Support

    Answered by Charlie on February 17, 2016 at 09:53 AM

    We do not have a feature that sets limitations on the number of purchases that can be done on a product directly on the payment integration.

    However, we do have widgets that allows you to do this.







    Here's a sample form on how I setup mine: https://form.jotform.com/60473491150956

    1. Add the widget of your choice. In my case, I'll use the "Ticket Purchases" widget.

    2. I'll add a text box associated with it to get the value price of the selected option.

    3. To assign the value on the simple text box, we will need to use the conditional logic. Here's a guide to learn more about it: http://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic 

    Below is a sample of the condition where I'm assigning "1" in the "LOS - Price" text box when the selection in the widget is equal to "Monday $1".

    4. You can then use the form calculation widget to sum up all your total for a final price. From there, you can pass it on your Paypal payment total by following this guide: http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field 


    With that, you can have specific selections to have a limit on them.

    I hope that works.