Documentation

Dynamic Geolocation Field

Last modified: December 5, 2025

Introduction

The Dynamic Geolocation Field in Formidable Geolocation automatically fills other form fields with geolocation or route-based data coming from the Geocoder Field or the Directions Field. This eliminates manual typing and allows your forms to react instantly to user-selected locations or calculated routes.

This feature is extremely useful for streamlining location-based workflows, such as:

  • Auto-filling address fields when a user selects a location.
  • Displaying distance or travel time results inside regular form fields.
  • Passing geolocation data into calculations, for example, delivery fees based on miles or kilometers.

Dynamic fields fully support Formidable’s conditional logic and automation features, allowing you to:

  • Show or hide fields based on a detected city, postcode, distance, or duration.
  • Trigger notifications depending on customer location.
  • Perform pricing logic using distance or time results.

Dynamic Geolocation Field Types

Formidable Geolocation provides two types of dynamic fields:

Dynamic Location Field


Formidable Dynamic Location Field options
Dynamic Location Field options for auto-populating address and location data.

The Dynamic Location Field pulls structured location components from a linked Geocoder Field. When a user selects or updates a location, this dynamic field can automatically populate any of the following:

  • Place Name
  • Street Number
  • Street Name
  • Combined Street Formats
  • Premise / Subpremise
  • Neighborhood
  • City
  • County
  • Region Name
  • Region Code
  • Postal Code
  • Country Name
  • Country Code
  • Formatted Address
  • Latitude
  • Longitude
  • Coordinates (Comma-Separated or Serialized)
  • Address + Coordinates (Serialized)
  • Place ID

Dynamic Directions Field


Formidable Dynamic Directions Field options
Dynamic Directions Field options for populating route-based data.

The Dynamic Directions Field retrieves travel-related data from a linked Directions Field. Supported route values include:

  • Distance Text: e.g., “12 miles” or “5 km”.
  • Distance Value: The numeric portion only.
  • Distance in Meters: For precise calculations.
  • Duration Text: e.g., “22 minutes”.
  • Duration in Seconds: Perfect for Formidable calculations.

These values can be passed into pricing formulas, conditional logic, or custom calculations inside Formidable Forms.

Dynamic Geolocation Field Options

The Dynamic Geolocation Field works with many standard Formidable field types, including Text, Hidden, Number, Dropdown, Checkboxes, Radio, Paragraph, and Address Fields.

1. Dynamic Field Usage

Select what type of data this field should receive dynamically:

  • Dynamic Location Field: Populates address or place data from the Geocoder Field.
  • Dynamic Directions Field: Populates distance or duration from the Directions Field.

2. Linked Geolocation Fields

Choose which geolocation field will serve as the source:

  • Geocoder Field - for address components and coordinates.
  • Directions Field - for distance and duration output.


The selected field must already be added to your form and properly configured.


3. Field Value

Choose the specific data type this field should populate. Available options depend on whether the field is configured as a Dynamic Location Field or a Dynamic Directions Field.

  • Location Values: Street components, city, region, postal code, country, place name, coordinates, etc.
  • Directions Values: Distance text, distance numeric, distance in meters, duration text, duration in seconds.

Note:
When populating Number fields, you can use Formidable’s calculation features to build pricing models, such as cost per mile or travel-time-based fees.

Use Cases and Advanced Options

Dynamic Geolocation Fields open the door to a wide range of automated, location-aware form workflows:

  • Delivery Pricing: Multiply distance (in meters or miles) by a cost rate.
  • Region-based Logic: Show or hide fields based on detected country, region, or city.
  • Service Radius Checks: Hide checkout fields if the user is outside your service area.
  • Travel-Time Estimation: Populate hidden fields with duration data for custom automations.

How to Use Dynamic Geolocation Fields

Below is a practical example showing how to populate a ZIP/postal code automatically:

  1. Add a Geocoder Field: Insert a Geocoder Field into your form. This field provides the structured location data.
  2. Add Additional Geolocation Fields: Include fields such as Address or Map, and sync them with the Geocoder Field.
  3. Add a Text Field: Label it “ZIP Code” and configure it as a Dynamic Location Field:

    • Choose Dynamic Field Usage -> Dynamic Location Field.
    • Select your Geocoder Field as the data source.
    • Choose Postal Code as the Field Value.
  4. Test the Form: Enter an address into your Geocoder Field. The ZIP Code field should auto-populate instantly.
menu-circle