Save geolocation coordinates from address field
add_filter(‘frm_validate_field_entry’, ‘store_address_coordinates’, 10, 3); function store_address_coordinates($errors, $posted_field, $posted_value){ $fields = array( 31014, 31015); //Change 31014 and 31015 to IDs of the hidden fields where the longitude and latitude coordinates should be stored. if ( in_array( $posted_field->id, $fields ) ) {…Continue reading