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 lock the From location input of Driving distance widget

    Asked by wendydroubay on April 16, 2017 at 06:15 PM

    I received help creating a form that will calculate a driving distance and cost using the "Driving Distance Widget" but I need to lock the "From" location if that is possible.

     

    here is the sample form that was built

    https://form.jotform.com/71035629186964

     

    Thanks

    Screenshot
  • Profile Image
    JotForm Support

    Answered by jonathan on April 16, 2017 at 06:50 PM

    Currently it is not possible to disable only the 'From' location of the Driving Distance widget.

    But what you may want to try instead to prevent the user from using the input box and altering the default From location you have set, is to hide the input box.

    You can do it by adding this custom CSS code on the widget.

    #ddFrom{

    visibility : hidden;

    }

    ---

     

    You can test it working on my test form.

    I hope this help. Let us know if you need further assistance.