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 calculate price from point to point distance for Medical Transportation solution

    Asked by amerasolutions on August 18, 2014 at 05:32 PM

    Hello I am making a booking form where users can reserve and book a personal chauffer. Much like a limo service but we are a medical transportation solution. How is it possible to have a mathematical formula or even a price table where the total cost for the user will be based on our different prices? Such as they book a ride from Point A to Point B and the distance between both is 10 miles. And we charge a one time fee of $15 plus a fuel surcharge of $2 and .50 cents for every mile. How can I have the payment to total out to the selected route? The total will be $22 but thats because of the charge for each mile changes on each booking. How can we make this happen?

    payment options booking form table prices different
  • Profile Image
    JotForm Support

    Answered by jonathan on August 18, 2014 at 07:50 PM

    Hi,

    You need to have all your calculations first done and then pass the Total amount to a payment tool.

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

    Let me create a sample form. I'll get back to you quickly

    Thanks.

  • Profile Image
    JotForm Support

    Answered by jonathan on August 18, 2014 at 08:11 PM

    Please check this form http://www.jotform.me/form/42297203757459

    Test by using 10 miles for the total distance.

     

     

    The calculations I have setup is like this

     

     

    Hope this help. Tell us your thought on this.

    Thanks.

  • Profile Image

    Answered by fortworthcouriers on December 18, 2014 at 04:53 PM

    But how do you get the mileage to calculate between points A and B?
  • Profile Image
    JotForm Support

    Answered by Kiran on December 18, 2014 at 05:12 PM

    @fortworthcouriers

    Your question is moved to a separate thread and shall be addressed there.

    http://www.jotform.com/answers/478687

    Thanks!

  • Profile Image

    Answered by polishedcarz on March 15, 2016 at 11:34 PM

    How did you get the one-time fee, fuel surcharge and every miles on the form above?

  • Profile Image
    JotForm Support

    Answered by Kiran on March 16, 2016 at 12:40 AM

    The values you are referring are the static values which were used in the Calculation field.

    The values are displayed on the form using a Text field.

    You may clone the form to your account to see how it is setup.

    Hope this information helps!