Using the Geo Locate app, I have this working properly. Wanted to time stamp a date time field as well as a user field with the user who pressed the button.
This code is in the JS Code Page:
jQuery(document).ready(function getLocation()jQuery(document).ready(function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition); }
var test = $.ajax({url: url,async:false,success: pushResult}).responseText; return false;});
function showPosition(position){
var editURL = ""; editURL = "xxxxx"; editURL += "?act=API_EditRecord&key=" + QBU_recid; editURL += "&_fid_834=" + position.coords.latitude; editURL += "&_fid_837=" + position.coords.latitude; editURL += "&_fid_835=" + position.coords.longitude; editURL += "&_fid_838=" + position.coords.longitude; $.ajax({url: editURL,async:false});
location.reload(true);
------------------------------
ProjectsForce
------------------------------
Question
Geo Locate App
This topic has been closed for replies.
Sign up
Already have an account? Login
Login to the community
Login with Quickbase US – quickbase.com Login with Quickbase EU – quickbase.eu
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.