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

    How to validate the number on the form with the quantity of payment field?

    Asked by kevangibbs on March 20, 2017 at 02:05 PM

    We have a form set up to allow for people to provide us varying amounts of info - i.e the number of dogs they own. At checkout, we ask them to select how many dogs they have. So, if they gave us info on two dogs, they're supposed to choose the 2 dog option at checkout. Is there anyway to make the Product Number align with the Dog Number? As it is, they can say they have 4 dogs and only be charged for 1. As well, they can only have 1 dog and mistakenly pay for 4.

    Page URL:
    https://www.barkdogbar.com/form-2

  • Profile Image
    JotForm Support

    Answered by Kiran on March 20, 2017 at 05:51 PM

    I have checked your JotForm and see that the payment field is configured with special pricing based on the number of dogs. If you want to avoid the confusion of selecting the number of dogs to match with the number of dogs entered on the form, you may consider calculating the final value manually by using a Form Calculation widget. 

    https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget

    You may then pass the calculated value to the payment field by choosing the custom amount.

    https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field

    Hope this information helps! Please give it a try and let us know if you need any further assistance. We will be happy to assist.