Location (Lat/Long) Component
The Location field is very useful when you have a form that requires a user to capture their current location in lat/long coordinates.
Adding a Location field is relatively simple. First, drag & drop the field into the form:
Once brought into the form, your field should look something like the following:
Since the field uses multiple decimal points when notating physical coordinates, it may be useful to expand the width of the field. In this example, the field width will be changed to 6 (half). After making that change let's look at what the form should look like in preview:
All that's left to do is set the location. By clicking on the "target" icon to the right of the coordinate fields, the coordinates of the user will be automatically pulled into the form:
Capture Lat/Long Automatically, without User Input
If you want to capture the user's current position when the submission is created automatically, you can simply set the initial value of the Location control to "current position" like in the screenshot below:
You can keep the lat/long coordinates visible/editable for the user, or you could hide the field from the user but still capture the data.