How to lock the From location input of Driving distance widget

  • Profile Image
    wendydroubay
    Asked 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

  • Profile Image
    jonathan
    Answered 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.