Documentation

Coordinates Field

Last modified: September 26, 2026

Introduction

The Coordinates Field displays and accepts the latitude and longitude of a location connected to a Geocoder Field. Use it when visitors should see or edit the precise coordinates associated with an address, map marker, default location, or detected current location.

Available in: Starter, Pro, and Agency.

The Coordinates Field belongs to a connected location group. The linked Geocoder Field remains the background source of truth and stores the complete structured location.

Configuring the Coordinates Field

Geocoder Field

Select the Geocoder Field whose coordinates this field should display and update. Use a different Geocoder Field for every independent location in the form.

Coordinate Placeholders

  • Latitude Placeholder: sets the placeholder shown in the latitude input. The default is Latitude.
  • Longitude Placeholder: sets the placeholder shown in the longitude input. The default is Longitude.

Setting Up and Using the Coordinates Field

  1. Add a Geocoder Field to the form.
  2. Add a Coordinates Field.
  3. Select the Geocoder Field that should provide and receive its location.
  4. Optionally customize the latitude and longitude placeholders.
  5. Add an Address, Map, or Locator Button Field connected to the same Geocoder when visitors need another way to select the location.
  6. Save the form and test the connected fields on the frontend.

Selecting an address, moving a connected map marker, detecting the visitor's location, or entering valid coordinates updates the shared location. The other fields connected to that Geocoder then receive the updated location according to their settings.

Inside a Ninja Forms repeater, keep each Coordinates Field and its connected Geocoder Field in the same row structure so every row maintains an independent location.

Saved Value and Outputs

The Coordinates Field saves its value as a comma-separated latitude,longitude string. It does not save the complete structured address record; that record belongs to the connected Geocoder Field.

Supported merge-tag parts include:

  • full or compact for the complete coordinate pair.
  • latitude or lat for latitude.
  • longitude or lng for longitude.

Troubleshooting

The coordinate inputs remain empty

Confirm that the Coordinates Field is connected to the intended Geocoder Field and that the Geocoder has received a valid location from an Address, Map, Locator Button, default-coordinate, or coordinate-entry workflow.

Coordinates update the wrong location

Review the selected Geocoder Field. Independent locations should not share one Geocoder unless they are intentionally part of the same synchronized location group.

Coordinates do not match another visible field

Confirm that both visible fields connect to the same Geocoder Field, then resolve or select the location again. Fields connected to different Geocoders represent different locations.

menu-circle