How to calculate price from point to point distance for Medical Transportation solution

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

  • Profile Image
    jonathan
    Answered 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
    jonathan
    Answered 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
    fortworthcouriers
    Answered on December 18, 2014 at 04:53 PM

    But how do you get the mileage to calculate between points A and B?
  • Profile Image
    Kiran
    Answered 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
    polishedcarz
    Answered 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
    Kiran
    Answered 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!