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 based on the mileage returned by Driving Distance calculator?

    Asked by fortworthcouriers on December 22, 2014 at 02:02 AM
    What I'm trying to do, and I don't know if it's something I can do in this environment, is have the user enter two address and then the driving miles be returned. Then, I want to use the mileage to calculate a cab fee which will depend on user input conditionals and the mileage.
  • Profile Image
    JotForm Support

    Answered by Welvin on December 22, 2014 at 08:15 AM


    I have just tried it and I don't think that is possible. A workaround would be to add an input field for the user to manually input the mileage generated by the widget then have the calculation based on this input field. This should be simple and easy to manage.

    Let us know if you need help with it.


  • Profile Image

    Answered by fortworthcouriers on December 22, 2014 at 04:17 PM

    Well. what is the basic syntax for passing the picking up and delivery address over to Google maps? Once it has those,. it would seem like it's just a matter of capturing the returned value.

  • Profile Image

    Answered by Carina on December 22, 2014 at 05:37 PM

    I will investigate further this situation and will get back to  you later.

    If you need further support or clarification please let us know as we are here to help.

  • Profile Image

    Answered by Kom on July 29, 2016 at 12:31 AM

    I need to do this too; get the data from the address fields. The widget is just about useless for cab fare applications if you can't get the addresses in an email.

  • Profile Image
    JotForm Support

    Answered by Welvin on July 29, 2016 at 01:40 AM

    @kom: I see that you have created a thread for your inquiry. You will be answered there.