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

    Driving Distance widget: enforce only valid addresses to be entered

    Asked by fleeteng on April 29, 2016 at 06:09 AM

    We are using the driving directions widget in order to generate the price of the job being entered. However, it does not prevent nonsense from being entered into the address fields, so it's not possible to validate the trip and therefore the price.

    Is there a way to achieve the result of enforcing that the user enter a valid start and end address?

    validate Address Fields Driving Distance
  • Profile Image
    JotForm Support

    Answered by Boris on April 29, 2016 at 08:22 AM

    Please mark your Driving Distance widget as required, and your users should no longer be able to submit it with an invalid address. You can mark it required as shown in the following image:

    If your users try to submit the form with an invalid address while the widget is marked as required, they will receive an error like the following:

    If you need any further assistance, please let us know. We'll be happy to help.