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

    Calculating distance from multiple fields

    Asked by academicproofreading on December 13, 2015 at 06:17 PM


    I have 3 driving distance widgets, and I want each one to use the data from the previous one. So for instance, I want the 'From' input from the first widget to automatically be put in the 'To' input in the second widget (and then the 'From' input from the second widget to be put into the 'To' input in the third widget). This is to save clients having to repeat inputting the same details. Is this possible? Many thanks.

    Page URL:

  • Profile Image

    Answered by rober_sprine on December 14, 2015 at 06:00 AM

    You should use form calculation widget

  • Profile Image
    JotForm Support

    Answered by Mike on December 14, 2015 at 10:24 AM

    As suggested by @Rober_sprine, it should be possible calculate a total driving distance with form calculation widget fields. You can get a distance from each field separately, and then calculate them together.

    If you need any further assistance, please let us know.

  • Profile Image

    Answered by academicproofreading on December 16, 2015 at 06:23 AM

    Thank you for your replies. Unfortunately, that is not what I meant. I am happy using the calculation widget to calculate the distance, but what I'm after is automatically filling part of one driving distance widget with the information provided in the other. For instance, in the first widget there are 2 fields 'Our Office' and 'Pick-up'. In the second widget the two fields are 'Pick-Up' and 'Ceremony'. What I'm trying to do is this: When 'Pick-Up' is filled in the first widget, I want the 'Pick-Up' field in the second widget to also say that. Is this possible? Thanks for your time and help.

  • Profile Image

    Answered by victor on December 16, 2015 at 08:57 AM

    If I understand you correctly, you would like to capture a field from the widget and fill it in another distance widget.

    This currently is not possible. I will try to find a solution or work around for this. If I have any update I will let you know.

  • Profile Image

    Answered by academicproofreading on December 16, 2015 at 10:04 AM

    Yes, that is correct. Thank you for your help. I look forward to hearing from you!

  • Profile Image
    JotForm Support

    Answered by Mike on December 16, 2015 at 11:09 AM

    I do not think that we can do this, since most of the widget fields are different compared to the standard fields. Widgets are usually loaded in their own iFrames as separate pieces, so we cannot pre-populate them. However, if we have any other ideas we will let you know.

  • Profile Image

    Answered by academicproofreading on April 01, 2016 at 11:17 PM

    Hello, I just wondered if - nearly 4 months on - there is an update on this? Thanks for you help.
  • Profile Image
    JotForm Support

    Answered by Chriistian on April 02, 2016 at 03:24 AM

    Hi, since this is an old thread, have moved your concern to another thread - https://support.jotform.com/answers/808837.