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 ?

  • Profile Image
    cosderm
    Asked on December 15, 2016 at 10:28 AM
  • Profile Image
    david
    Answered 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

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

    ...
  • Profile Image
    david
    Answered on December 15, 2016 at 01: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