A Location field collects the client’s geographic location: the latitude and longitude of a point, shown on a Google map.
The Location field is available in HTML templates only, when maps are included in your organization’s plan. For the settings that all fields share, such as permissions, dependencies and style, see Field settings.
A new Location field can be filled in by the client only (Client Allowed on, Agent Allowed off), and it isn’t required.
Add a Location field
Section titled “Add a Location field”- Add a Maps connector with your Google API key on the template’s Integrations tab. To let the client search for an address or a place, turn on Apply Geocoding in the connector. See Maps connector.
- Drag Location from the palette. Give the field at least half the width of the row, so that the map is large enough on a desktop screen.
- On the Values & Display tab, select what the signed PDF shows. See Settings.
Without a Maps connector, the field shows no map: it only captures the client’s position and saves the coordinates.
Settings
Section titled “Settings”On the Values & Display tab:
| Setting | What it does |
|---|---|
| Display Map on final PDF result | Shows a map of the chosen point in the signed PDF. Off by default. |
| Display Location coordinates [longitude/latitude] on final PDF result | Shows the coordinates of the point in the signed PDF. Off by default. |
When both are off, the location isn’t printed in the signed PDF. It is still saved in the form data.
What the client sees
Section titled “What the client sees”- When the form opens, the browser asks the client for permission to share their location. Only the client can grant it, in the browser. Cellosign and Google can’t grant it.
- If the client allows it, their current position is marked on the map.
- The client can click the map to mark another point. With Apply Geocoding, they can also search for an address or a place. If nothing is found, the form shows “Location was not found”.
If the client doesn’t allow the browser to share their location, they can still search, or mark their location on the map.
Location data is sensitive. To ask for the client’s consent first, hide the Location field, and show it with a dependency on a consent checkbox, for example “I agree to share my location”.
The value
Section titled “The value”The value of the field is the latitude and the longitude, separated by a comma. When the map is available, the address of the point, as found by Google Maps, is also saved in the field’s meta.geocoder. For example, in a webhook:
{ "id": "SOMEFIELD5", "type": "location", "value": "32.0853,34.7818", "meta": { "geocoder": "1 Example St, Tel Aviv-Yafo, Israel" }}A Location field can’t be used in conditions.