JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Address Map Locator Widget: CSS to allow user to fill with latitude/longitude.Asked by Avertical on August 18, 2016 at 07:10 PM
I'm trying to create a form that will allow the user to populate coordinates either by adding an address or the lat/long themselves. I've seen that I can inject custom CSS into this widget to show or hide the lat/long fields, but can I also make them editable with CSS?
fill map address map allow
I see that you want the user to be able to edit their latitude and longitude. Unfortunately, that is not possible to achieve using CSS. Custom CSS is only used for styling the widget or showing/hiding the elements from being displayed. We cannot change an element's attributes using CSS.
The latitude and longitude are determined from the address that the user entered, or based on the point that the user pinned on the widget's map. The user will have to either enter their specific address or move the pin to the exact position that they want to point to on the map.
If you would like to get the exact lat and long of the user at the time when they are filling up the form, perhaps you can try the GPS Location Widget. This widget pinpoints the exact location of the user based on their GPS coordinates, so they won't need to enter it at all.
If you need further assistance, please let us know.