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

  • amerasolutions
    Asked on August 18, 2014 at 5: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?

  • jonathan
    Replied on August 18, 2014 at 7: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.

  • jonathan
    Replied on August 18, 2014 at 8:11 PM

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

    Test by using 10 miles for the total distance.

    How to calculate price from point to point distance for Medical Transportation solution Image 1 Screenshot 30

     

     

    The calculations I have setup is like this

    How to calculate price from point to point distance for Medical Transportation solution Image 2 Screenshot 41

     

     

    Hope this help. Tell us your thought on this.

    Thanks.

  • fortworthcouriers
    Replied on December 18, 2014 at 4:53 PM

    But how do you get the mileage to calculate between points A and B?
  • Kiran Support Team Lead
    Replied on December 18, 2014 at 5:12 PM

    @fortworthcouriers

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

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

    Thanks!

  • polishedcarz
    Replied 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?

  • Kiran Support Team Lead
    Replied on March 16, 2016 at 12:40 AM

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

    How to calculate price from point to point distance for Medical Transportation solution Image 1 Screenshot 30

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

    How to calculate price from point to point distance for Medical Transportation solution Image 2 Screenshot 41

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

    Hope this information helps!