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

    Add Google Map Code To Email HTML

    Asked by markashton on March 31, 2011 at 10:05 AM

    Objective: To add google map functionality to html email.

    Problem: HTML Editor is crippled in HTML mode stripping code out as it sees fit. I am unable to add an iframe. The code is not accepted. This, however, is the code that Google presents one to embed. 

    Essentially, I require exactly what happens in the submissions area when an address is found i.e. a google map is generated of good size.

    Can you advise me on how I might get a google map to show in an autoresponder email

    Many thanks

    Regards mark

  • Profile Image

    Answered by markashton on March 31, 2011 at 11:12 AM

    Hi,

    Just a little more info:

    I note you use Tiny MCE Editor. By default it has the tags for Iframe turned off.

    I found this to hopefully fastrack this as I know you guys like an instant fix:

    http://www.learnwebdesignonline.com/tutorials/allow-script-iframe-tinymce

    hope you can help on this. have tried in a couple of form providers and the do allow the iframe tag in their editors so can't be terrible ...

    Thanks Mark

  • Profile Image

    Answered by DanielGriffin on March 31, 2011 at 11:33 AM

    Thanks Mark,

    I'm not sure if it's possible to add an iframe to an email, unless that iframe were to point to some document on the web.  However I have discovered a TinyMCE plugin specifically for Google maps.  I'll assign this to the developers since would require some changes to the code.  I'll also include a link to that in this message so that they can take a look for you. 

    http://sourceforge.net/projects/mcegooglemap/

    Sorry but I'm not sure how long this will take or if it can even be started soon.  It does sound like a very handy feature so hopefully we can get something for you soon.

    Regards,

    Daniel

  • Profile Image
    JotForm Support

    Answered by NeilVicente on March 31, 2011 at 11:39 AM

    Hey Mark,


    The easiest way to add a Google Maps image into your Autoresponder emails is to use the Google Static Maps API. This API sends back a static map image (jpg,png, and gif) depending on the parameters that you specify. For more information, proceed to this link: Google Static Maps API.

    Take this image for example:

     

    I inserted this image using html <img> tags. You can also do the same via the HTML editor of the Autoresponder Email Composer. Iframe is not needed because that API outputs an image and not an html document.

    Hope you find this information helpful.

     

    Neil

  • Profile Image

    Answered by markashton on March 31, 2011 at 01:25 PM

    Neil,

    Thanks for taking the time to advise me on that. I have a great working solution now thanks to you.

    Appreciate it.

    Regards Mark

  • Profile Image
    JotForm Support

    Answered by NeilVicente on March 31, 2011 at 01:39 PM

    Hi,

    You're very much welcome. Let us know if you have any other questions.

    Neil

  • Profile Image

    Answered by Mehul Nahar on August 03, 2011 at 03:32 AM

    Hi

     

    I have a question, I want to design an application for gmail where 

    1. A map will show location of sender (through IP address )

    2. When user reply's to the mail it should show the route of the mail.

    3. If the user forwards the mail it should again map (marker of the sender), plot the route to the marker of the reciver.

     

    Can you please help with this, can you guide me with this application.

     

    Thanks

    Mehul

  • Profile Image
    JotForm Support

    Answered by liyam on August 03, 2011 at 10:52 AM

    Hello Mehul,

    We apologize but we only support Jotform related inquiries.

    Warm regards,

    Liyam