How to lock the From location input of Driving distance widget

  • wendydroubay
    Asked on April 16, 2017 at 6: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

    Jotform Thread 1120566 Screenshot
  • jonathan
    Replied on April 16, 2017 at 6: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;

    }

    ---

    How to lock the From location input of Driving distance widget Image 1 Screenshot 20

     

    You can test it working on my test form.

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