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

    Validate the Total amount

    Asked by yesherveJT on September 09, 2014 at 11:59 PM

    My form will have multiple products. However, I don't want to allow users to submit it until the total amount is 15$ or more. Is there a way to add such validation?

    validate validate amount
  • Profile Image
    JotForm Support

    Answered by jonathan on September 10, 2014 at 05:04 AM

    Hi,

    You will not be able to do it directly using the Purchase Order tool.

    Instead use Calculation field so that you can assign conditional statement that can validate the current Total amount.

    Check this user guide http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    Here is a demo form you can check http://form.jotform.me/form/42522161797457?

     

    In the test form, if the Total Amount is less than 15.00 , you will not be able to submit the form.

    Hope this help. Inform us if you need further assistance.

    Thanks!

     

  • Profile Image

    Answered by yesherveJT on September 11, 2014 at 05:15 AM
    Right…. I understand, but if I do it that way, that means I cannot add a payment tool to the form.. correct

    ...
  • Profile Image
    JotForm Support

    Answered by Welvin on September 11, 2014 at 07:59 AM

    No, it's not correct. We now have a way to collect an actual payment while configuring your product items using Radio, Dropdown or Checkbox fields.

    You can add a payment tool and forward the total amount using the calculation widget. We have a guide for that: 

    http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    Let us know if you need further assistance.

    Thank you!