Forms on phones - GPS & photo/video...

User 187934 Photo


Senior Advisor
20,238 posts

Your code is missing a '
Try this.
<script>navigator.geolocation.getCurrentPosition(GetLocation);
function GetLocation(location) {
document.getElementById('item8_label_0').value=location.coords.latitude;
document.getElementById('item7_label_0').value=location.coords.longitude;
}</script>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 182201 Photo


Ambassador
3 posts

Hi,

I have now added my form on the website, but the latitude and longitude are not showing on my iPhone unless I have shared my location.

http://visioned.coffeecup.com/forms/VogelTelling-demo/

It's showing up on desktop.

Please let me know.

Regards,

Ed Boon
Visioned.net
Regards,

Ed Boon
Visioned

Safarigeel 120
2718 CN Zoetermeer
Phone: + 3179 362 51 70
Mobile: + 31 6 22 04 26 39
E-mail: info@visioned.nl
Websites: www.visioned.net, www.zaakopmaat.nl, www.caminodespaysbas.nl
Skype-me: maced1963
Linkedin: http://www.linkedin.com/in/macedvisioned
User 187934 Photo


Senior Advisor
20,238 posts

That's standard protocol with gps locations. You have to share it.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.