I'm using this example in the Lavarel form: link
It works fine, I autocomplete the fields, but I wanted to auto complete with an input type hidden at latitude and longitude.
How can I get the latitude and longitude, using this example of the link, and putting an input hidden to store in my database these two data?
In my form, I'm trying to get it this way:
<tr>
<td class="field-label"><b>Latitude</b></td>
<td class="wideField" colspan="3">
<input required class="field" name="latitude" id="lat" disabled="true"></input>
</td>
</tr>