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

    A link to Google maps on email notification

    Asked by EffieMcNair on February 18, 2016 at 05:38 AM

    Hi There,

     

    Is it possible at all to have a link to Google maps in the notifier? 

    Please see attachment for what I am trying to achieve. I read threads in the forum about static Google map etc which is not good for us as we need to be able to get a close up on the address and measure distances etc(using Google maps..)

    Thanks for your help/ideas in advance!

    Effie

    Screenshot
  • Profile Image
    JotForm Support

    Answered by EltonCris on February 18, 2016 at 10:30 AM

    That's possible using the following google map URL with your search query on the URL parameter.

    https://www.google.com/maps?q=YOUR QUERY

    If you want the address field value to be your search query, you have to append your address field tag on the above URL. Since address field tag includes the address labels by default, you have to strip them off so google map will not be confused with those text since they are not an address. This is explained in this guide.

    Example, if your address field tag is {address}, it will become the following. 

    {address:addr_line1},{address:addr_line2},{address:city},{address:state},{address:country}

    You can find these prefixes e.g. addr_line1, addr_line2, city on the strip address guide.

    After that, append these tags on the google map URL so it would then look like this.

    https://www.google.com/maps?q={address:addr_line1},{address:addr_line2},{address:city},{address:state},{address:country}

    Then on your notification, simply create a hyperlink with this URL

    If you need further help, do let us know.

  • Profile Image

    Answered by EffieMcNair on February 22, 2016 at 10:34 PM

    Thanks for that - I was using it with GeoLocation Widget and it worked like charm :-)