-
cmdryodaAsked on September 19, 2014 at 11:21 AM
Hello,
I am creating a form with standard address information. That information has to to be passed to the Google Distance API. The API uses javascript. I wanted to know how do I pass form data into the API?
-
Kiran Support Team LeadReplied on September 19, 2014 at 1:52 PM
You can send form data to a URL by using webhook technique.
Please go through the guides below that can help you in working with webhooks
http://www.jotform.com/help/245-How-to-Setup-Webhook-with-JotForm
http://www.jotform.com/help/248-Webhook-Samples
Also, we do have some map related widgets that you may be interested. Please check them if they works for you
http://widgets.jotform.com/search/map
Hope this information helps. Please get back to us if you need further assistance. We will be happy to help.
-
cmdryodaReplied on September 19, 2014 at 4:04 PM
How do I setup the URL? Can I create a page on my website?
-
David JotForm SupportReplied on September 19, 2014 at 4:41 PM
Hi,
You could also embed your form using the full source code and interact with the field directly within your page:
http://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form
Depending on the script, you would then be able to reference the address field in your form directly, rather than having to use web hooks.