What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

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.


  • Profile Image

    Is it possible to edit the "Address Map Locator" widget, to get the longitude and latitude fields removed?Also is it possible to make the map smaller?

    Asked by DamienKnapp on March 31, 2016 at 11:42 PM

    I don't have any experience using CSS so I'm not sure if my above requests can be completed using CSS?

    Page URL:
    http://pembertown.com/finance/apply

    map and address map Make
  • Profile Image
    JotForm Support

    Answered by Chriistian on April 01, 2016 at 04:31 AM

    Yes, it is possible to remove the Longitude and the Latitude from being displayed on the Address Map Locator Widget using custom CSS.

    1. Click the wand icon of the Address Map Locator widget to open the wizard.

    2. Click the Custom CSS tab and paste the code below to the text area:

    #inputLat-row, #inputLng-row {

        display: none;

    }

    3. Then to make the map smaller, add the css below to the Custom CSS tab of the widget. You can change the value of the yellow highlighted text to your own liking.

    #container{

     width: 400px!important;

    }

    #map{

      height: 300px!important;

    }

    4. The widget should now look like this:

    If you need further assistance, please let us know.
    Regards.

     

     

  • Profile Image

    Answered by DamienKnapp on April 03, 2016 at 09:37 PM

    Excellent that's great, thanks for your help! This isn't super critical but is it possible to also have the longitude and latitude removed when I'm using the HTML for the Address Map Locator in a different field?


  • Profile Image
    JotForm Support

    Answered by Chriistian on April 03, 2016 at 10:32 PM

    Unfortunately, it is not possible to remove the longitude and latitude from the HTML for the Address Map Locator. The CSS we previously applied only prevents the longitude and latitude from being displayed on the form, but it is still being recorded by the widget. So the {currentAddress} captures the whole data from the widget, including the longitude and latitude.

    A possible alternative would be to use the GeoLocation widget. That way, you can choose to output only the address.

    http://widgets.jotform.com/widget/geolocation 

    Please let us know if you need further assistance.
    Regards.