Validate the Total amount

  • yesherveJT
    Asked on September 9, 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?

  • jonathan
    Replied on September 10, 2014 at 5: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?

    Validate the Total amount Image 1 Screenshot 20

     

    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!

     

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

    ...
  • Welvin Support Team Lead
    Replied on September 11, 2014 at 7: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!