Author: info@technocore.co.za
Hidden Field that gets the location of the user (browser will prompt the user on wheter they wish to share thier location)

<input type="hidden" name="_form_Answer" class="form-control" id="_form_Answer" value="-34.0633902, 18.5106987" size="50">
<script>$(document).ready(function() { navigator.geolocation.getCurrentPosition(ProcessPosition)}); function ProcessPosition(position) { Pos = (position.coords.latitude).toString() + ', ' + (position.coords.longitude).toString(); $('#_form_Answer').val(Pos);} </script>
cythonize -3 -a -i ObjFieldGeolocation.py
Compiling /home/axion/projects/axion/factory.field/package.core/ObjFieldGeolocation.py because it changed..[1/1] Cythonizing /home/axion/projects/axion/factory.field/package.core/ObjFieldGeolocation.py
Updated : 2025-06-09