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

    Need to limit number of sumissions by option, calculating total, and passing to payment gateway

    Asked by PPGA on August 04, 2015 at 11:11 PM

    Hello, I need help developing a form for Golf tournament registration. The tournament is 2 days and there are limited spots per day.  I am trying to create a form to meet the following requirements.  Your help would be greatly appreciated:

    Need to give option for players to pick a day.  They can pick both days with check box if they choose.  I also need to show number of spots available and counter to decrement for each submission.  After it reaches 0 then that day/options becomes unavailable.

    I want to show total amount ($125 per day)

    I want to pass the total to PayPal Payment Pro for payment.


    So far I have the following form created.  But I am unable to determine how to calculate total amount and then pass it to PayPal Pro gateway.  Your help would be greatly appreciated. 




    Page URL:

  • Profile Image
    JotForm Support

    Answered by EltonCris on August 05, 2015 at 01:31 AM

    You can achieve this when you use inventory widget.

    Here's cloned version with integration to paypal pro.


    You can clone this form if you want.

    And here's a guide on how to pass the calculation to the payment field. https://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    Let us know if you need further help. Thanks!


  • Profile Image

    Answered by PPGA on August 05, 2015 at 09:10 AM
    Thank you, that looks great.
    Phoenix Punjabi Golf Association (PPGA) Committee.
    Visit us online @ www.ppga.net
  • Profile Image
    JotForm Support

    Answered by BJoanna on August 05, 2015 at 11:43 AM

    On behalf of my colleague, you are welcome.

    Do get back to us if you have any further questions.