Mar 14th, 2010, 11:45 AM
Hi Invectus,
Ack! Wow, I can't believe I missed your post from way back in January. Sorry...
Yeah, this is very do-able. I got stuck working on a mobile project for my company and if the geolocation works anything like that, it's no problem.
Basically, it'll work by stashing the location information in hidden fields in your form. Presumably Firefox will prompt the user to confirm that the user is okay sharing the geolocation information? If they say yes, parse out the location, store in a hidden field - or fields - and submit the form.
That's pretty much it!
- Ben
Ack! Wow, I can't believe I missed your post from way back in January. Sorry...
Yeah, this is very do-able. I got stuck working on a mobile project for my company and if the geolocation works anything like that, it's no problem.
Basically, it'll work by stashing the location information in hidden fields in your form. Presumably Firefox will prompt the user to confirm that the user is okay sharing the geolocation information? If they say yes, parse out the location, store in a hidden field - or fields - and submit the form.
That's pretty much it!
- Ben