Allow Field to be Populated Dynamically

Introduction

Using dynamic population in Gravity Forms allows you to dynamically populate a field with a value (or values depending on the field type).

Note: This guide explains how to enable dynamic population for a field. To set a default value for a field refer to this article.

Note: For choice based fields that support dynamic population, the dynamic value will be selected if the specified value already exists.

Enable Dynamic Population

To enable dynamic population for a field, you will go to the field’s Advanced Settings Section and check “Allow field to be populated dynamically”.

Checking this option will enable data to be passed to the form and pre-populate this field dynamically. Data can be passed via Query Strings, Shortcode and/or Hooks. After checking this option, you will need to specify the name of the parameter you will be using to pass data to this field.

Populating a Single Line Text field with the value from a URL parameter.

Image showing dynamic population settings

Passing the campaign_id as a URL parameter: campaign_id=8237123 populates our field.

Image showing a form on the front end using dynamic population.

Further Reading

For more detailed information on how to dynamically populate a field and known limitations, please see our documentation on dynamic population.