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

    Can I open a Google map using GPS coordinates on a form?

    Asked by msimpy on April 01, 2015 at 01:06 PM

    I have a spreadsheet with 2 columns, 1 with about 200 names and the second has a GPS coordinate for each name.  The GPS coordinates are of exact meeting locations where the people named will be receiving an honor.   I would like to have a form with a series of drop downs sorted alphabetically where each person can select their name and on button press an individual Google map will open showing only that specified location. If necessary I can append the url https://www.google.com/maps/place/  to each GPS coordinate thus turning each into a full url?

    Is that possible? Thanks for the great work!! http://www.njrunforthefallen.org/

  • Profile Image
    JotForm Support

    Answered by BDAVID on April 01, 2015 at 02:37 PM

    You could accomplish this using the Geolocation widgethttp://widgets.jotform.com/widget/geolocation, with the Drop Down field or the Auto Complete widgethttp://widgets.jotform.com/widget/autocomp

    However, this would required to download the full source code:

    And then do some JavaScript programming to output a value(Latitude and Longitude) to the widget:

    Let us know if you have more questions, we will be glad to assist you.

  • Profile Image

    Answered by msimpy on April 01, 2015 at 03:03 PM

    Thanks - I'm wondering if there is an easier way!!   Let's say that I have 2 columns in my spreadsheet. the first has the names and the second has a link associated with each name, for example https://www.google.com/maps/place/39.383631, -74.529729

    Is there any way by selecting the appropriate name that on submit the form will pass the link and open it in a new browser window?

    Thanks for the help!!

  • Profile Image
    JotForm Support

    Answered by BDAVID on April 01, 2015 at 03:46 PM

    You can accomplish this with conditional logic, click on Conditions, and select Change Thank You URL after Submission.

    There you can set condition like:

    Then repeat the steps to add the following name with it's URl, let us know if you need more help.

  • Profile Image

    Answered by msimpy on April 01, 2015 at 03:53 PM

    Thank you - I will play with that and get back if I have any issues - thanks again!!