Validate the Total amount

  • Profile Image
    yesherveJT
    Asked 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?

  • Profile Image
    jonathan
    Answered 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
    yesherveJT
    Answered 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
    Welvin
    Answered 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!