I want my form to calculate an estimate price

  • movingjotform
    Asked on October 22, 2020 at 12:25 PM

    https://form.jotform.com/202876365558064


    I want my form to take the mileage from the first screen and multiply it by a value to provide an estimate of the price.

  • John Support Team Lead
    Replied on October 22, 2020 at 6:53 PM

    You would need to add a FORM CALCULATION widget to the form to calculate the cost based on the KM value:

    1603406944 5f920c60d15c5  Screenshot 10

    Then just pass the result to the payment field. Here's a guide on how-to-pass-a-calculation-to-a-payment-field.

    Another approach would be to use conditions to manually insert a value to the calculation based on the criteria you set. So for example, 1KM-33KM would be priced at 400ZAR , right? Then use this condition:

    1603407145 5f920d299468e  Screenshot 21

    Do this for all the other criteria you have.

    You can then pass the value of the CALCULATE field to the payment field using the method I provided above.