# Location

> Capture and store a geographical location on a form.

The Location field captures and stores a geographical location. It can also display a **target** location alongside the captured one, for comparison or guidance scenarios.

| Setting | Required | Description |
| --- | --- | --- |
| Target | No | Maps to a header of type Location, defining a target location shown alongside the current one. |

## Data format

The field stores its value as `latitude;longitude;precision;altitude;altitudePrecision`:

- **latitude** and **longitude** (required)
- **precision**, **altitude**, and **altitudePrecision** (optional)

This format matches the standard used across dataclips.

## Events

| Event | Description |
| --- | --- |
| On value changed | Triggered whenever the current location value is updated. |

## Tips

- Make sure a mapped **Target** header is actually of type Location.
- Always provide at least latitude and longitude.
- Use the target mapping when guiding a user toward a specific location.