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

    Can I put a limit to the number of payments received for a perticular form

    Asked by crosscreek on February 22, 2016 at 12:28 PM

    I need the form to collect data for a class.  I only have a certain number of spaces for the class.  How can I set a limit to the number of persons who can pay.  After the class is full, I would still collect form submissions and put on a wait list.

    Thank you

     

     

    payments received number of payments a Submissions and wait list thank
  • Profile Image
    JotForm Support

    Answered by Charlie on February 22, 2016 at 02:34 PM

    I'm not quite sure if I understood the workflow of your form.

    If you have a class with a specific number of available slots, I presume it already has specific prices on them?

    If that class is full, may we know how the pricing will be? Should they still be charged? 

    Here's how I am visualizing it:

    1. Here's my test form: https://form.jotform.com/60525110086950 

    2. I will use the "Ticket Purchases" widget for each class. 

    2. The widget can't hold the value price, so I will use a text box field that will act as the field for the price value of each widget. Each widget should have its own text box as the holder of the actual price. 

    3. I will use conditional logic to assign price values on each text box. 

     

    4. Here's a specific one for "Class 1". The condition states that when "Class 1" widget is FILLED then assign 10 ($10) in the text box "Class 1 Price Value". Now repeat the same steps on class 2. 

    5. I will then add another "Ticket Purchases" widget specifically for the waiting list, it does not have a text box for the price value because we don't want to charge users as being in the waiting list.

    6. I will then have a form calculation widget to sum up the total price of the selected classes. 

    7. This is how I setup my formula in the form calculation widget. I will sum up "Class 1 Price Value" and "Class 2 Price Value".

    8. Now how do we pass the initial total to our payment wizard? That is possible by following this guide: http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field. If the initial total is "0", then the user will not be navigated to the payment gateway, BUT will still be submitted. 

     

    So far that's the current way I am understanding on how we can limit classes, the payments and still have other users to continue submission to be in the waiting list. Let us know if you need more information on this. I hope this helps.

  • Profile Image
    JotForm Support

    Answered by Charlie on February 22, 2016 at 02:38 PM

    Just to add, you can easily hide the text box fields that holds the price value if you don't want them to display on the live form. Just right click and select "Hide".

    You might also need to set its default value to "0".

  • Profile Image

    Answered by crosscreek on February 22, 2016 at 03:47 PM

    Wow, that is very informative.  I will need to read that numerous times to get it right.

    I will only have one class per form with one price and a predetermined number of slots.

    I found the inventory widget but it doesn't do what I want. It doesn't link the inventory to the PayPal check out.

    I want a person to fill out the form and be directed to payment method if slots are still available.

    If no slots are available I want the form to still collect the data and a response of "added to wait list" go to the receipient .

    If there is a better way please let me know. 

    Can we edit the text of the response the person receives after they submit the form?

  • Profile Image
    JotForm Support

    Answered by jonathan on February 22, 2016 at 07:10 PM

    I want a person to fill out the form and be directed to payment method if slots are still available.

    If no slots are available I want the form to still collect the data and a response of "added to wait list" go to the receipient .

    If there is a better way please let me know. 

     

    You can use also the Conditions Logic to setup a rule base on the slots availability.

    Example:

    If Total Payment is zero(0) -- meaning no more slots available.. you can redirect the Submission to a different Thank You page/message.

    user guide: Change-Thank-You-URL-upon-a-condition-is-met-

    You can do the same for the Email recipient... if no more slots available send a different email.

    user guide: How-to-send-to-a-specific-email-address-based-on-a-selection

    Hope this help. Let us know if there is more we can help you with.