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

    How can we get latitude and longitude data from the input on our jotform?

    Asked by minenight on March 03, 2015 at 02:21 AM

    Hi, I asked the above question, and Jan answered - thanks,

    However, the Address-Map-Locator doesn't help me.

    I need to get the data back as individual numbers, i.e. in its simplest form,

    I would like my form-users to submit 3 pieces of data:

    1: Name

    2: Latitude

    3: Longitude.

     

    I'm using Zapier to pipe this into Podio, and this is the error I got from them (Zapier):

    Podio: The value 54,840,548,997,000,000,000,

    000,000,000 is too high, it must be less than or equal 1,099,511,627,775.

     

    Are there any other possibilities?

     

    Best regards,

    Michael.

    map latitude longitude
  • Profile Image

    Answered by Ben on March 03, 2015 at 08:41 AM

    I see Michael that this is related to this thread: http://www.jotform.com/answers/525032-Separating-the-latitude-and-longitude-values-using-map-widgets

    I would like to ask you to always reply to the same thread if the issue is the same as that allows us to see what was already suggested and to open a new thread if the issue/question is not related.

    I would like to suggest testing out 2 widgets to see if they do what you are after:

    Geolocation

    GPS Location

    The first one will give you the option of selecting what data you want to get from it, but both would allow you to capture the required data.

    Do let us know if they would work for you.

  • Profile Image

    Answered by Michael Neidhardt on March 03, 2015 at 09:00 AM

    Hi Ben,

    sorry for not replying to the thread - it was not quite clear how to do that. I hope this goes to the right place.

    As for my question, I need to get exactly the latitude and longitude, as 2 separate numbers, and also name etc, but that is not a problem. None of your form widgets seem able to give me lat+long the way I want it, unfortunately, but please correct me if I'm wrong.

     

    Regards,

    Michael.

     

     

  • Profile Image

    Answered by raul on March 03, 2015 at 10:41 AM

    I made some tests on my side and you're correct, the widget data is saved in a single field so this is why the integration is not working for you.

    You could try to use the full source code of your form so you can use a custom script to capture these values on a separate way and transfer them to your integration.

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

  • Profile Image

    Answered by minenight on March 04, 2015 at 02:56 AM

    Thanks, Raul,

    but we are using Zapier to pass on data to another service, and Zapier, I think, will not

    take into account any changes I make to my local copy of the form. They call up JotForm

    to get the fields available. I'll have a look, but dont think it'll work.

     

    Is there any way to make a widget myself and add it to your collection?

     

    Regards,

    Michael.

  • Profile Image

    Answered by raul on March 04, 2015 at 07:51 AM

    I was meaning that you can add 2 text fields to your form (in the form builder) and use a custom script to populate them, I suggested you to use the full source code of your form because this is the only way for you to be able to use custom scripts to manipulate the entered data in the form.

    Either way, you can also create your own widget and use it in your form.
    You can read more about this here: http://developers.jotform.com/widgets

    Let us know if you have further questions.
    Thanks.

  • Profile Image

    Answered by minenight on March 06, 2015 at 06:56 AM

    Hi Raul,

    thanks. That might be the answer, but it requires me to re-engineer the existing widget.

    I assume you mean that I capture the data I want before submitting, and then filling out the

    extra fields with data from the mapping-field.

     

    I'll look into that -

     

    Regards,

    Michael.

  • Profile Image

    Answered by raul on March 06, 2015 at 09:12 AM

    I assume you mean that I capture the data I want before submitting, and then filling out the extra fields with data from the mapping-field.

    Yes, that's what I meant.

    Feel free to contact us again if you need our help.
    Best Regards.