Can i set the Geolocation widgets for READ ONLY ? or how do i prevent the person who fill in the form drag the map to differetn location ?

  • cosderm
    Asked on December 15, 2016 at 10:28 AM
  • David JotForm Support
    Replied on December 15, 2016 at 11:50 AM

    Though it does not seemt to be possible to set the field to read only, you can hide it from view.  Adding the following CSS to your form will hide the widget in your form:

    #id_10 {
        display : none;
    }

    The widget will still function as it did before, however, since it is hidden users will no longer be able to modify it.  Here is my test form with the changes made:

    https://form.jotform.com/63495175901966

  • cosderm
    Replied on December 15, 2016 at 12:45 PM
    Hi David,

    Thank you for your prompt reply.

    May I know how to add the CSS code below in my form ? under which settings ?

    Thanks.

    Tom Goh

    ...
  • David JotForm Support
    Replied on December 15, 2016 at 1:52 PM

    Apologies, I should have included our guide on how to add the code.  Here is that guide:

    https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes