🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Dynamic Labels Premium Add-on Setup Guide

Updated 4 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Turn on Dynamic Label for a field
  4. Choose where the label comes from
  5. The security allow-list for URL parameters
  6. Template choices and Section / HTML text
  7. The stored field never changes
  8. Your entries are never touched
  9. Frequently asked questions

Video walkthrough

Gravity Forms Dynamic Labels Setup Guide: Change Field Labels by Link, User & Field
Video setup guide: Gravity Forms Dynamic Labels Watch on YouTube

The Gravity Forms Dynamic Labels Premium Add-on shows a different field label to each visitor without duplicating the form. In the field editor you turn on Dynamic Label for a field, choose where the label comes from, and write a template; at render time the add-on resolves the source, drops it into the template, escapes it, and shows it. This guide covers turning it on, each source, the security allow-list, templating choices and Section/HTML text, and how the stored field is left unchanged.

What you need

You need Gravity Forms 2.9 or newer and a WordPress site on PHP 7.4 or newer. There is nothing to connect: this is a self-contained tool with no external service, no account and no API keys. After you activate your GravityExtra license key in Forms → Settings → Dynamic Labels, a Dynamic Label group appears on the Advanced tab of every field.

Turn on Dynamic Label for a field

Open a form, click a field, and open the Advanced tab. Switch on Set this label dynamically at render and the source options appear. The rest of the field is unchanged — its type, its admin label, its validation all stay as they are. Dynamic Labels only changes what the visitor sees.

The Dynamic Label settings group in the Gravity Forms field editor, with the enable switch, source picker and template field
Turn on Dynamic Label on any field and write a template with a {source} placeholder.

Choose where the label comes from

Pick one of four sources. URL query parameter reads a value from the link the visitor arrived on, for example ?role=Doctor — gated by an allow-list, described below. Current logged-in user uses the signed-in visitor's display name, their role, or any user-meta key (type meta:company). Another field in this form uses another field's value. A field from another form pulls a value or a label from a different form's field, read locally. Whatever the source, you write a template such as Hello {source}, your details and the resolved value is dropped in at the placeholder.

The source picker in Dynamic Labels showing URL parameter, current user, another field, and a field from another form
Four sources: an allow-listed URL parameter, the current user, another field, or another form's field.

The security allow-list for URL parameters

A URL parameter is the most flexible source and also the one that needs care, because anyone can put anything in a link. Dynamic Labels is fail-closed: a URL parameter is only ever used when you have explicitly added its key to the field's allow-list. A parameter that is not on the list is ignored, and the field simply shows its static label. You can go further and list the permitted values too, so only Doctor or Nurse are accepted and anything else falls back to the static label. On top of that, every value that does reach a label is escaped on output, so a script someone tries to inject through a link is shown as harmless text and can never run.

The allow-list and permitted-values fields for a URL-parameter source, with a note that un-allow-listed parameters are ignored
A URL parameter is used only when its key is allow-listed; anything else is ignored and escaped.

Template choices and Section / HTML text

Dynamic Labels is not limited to the main label. Turn on Also template choice labels and each choice's text becomes a template too, so a drop-down can read Basic {source} and Premium {source}. Turn on Also template Section description / HTML text and the text of Section and HTML fields is templated the same way, which is perfect for a personalised intro line. Every one of these is escaped on output, exactly like the main label.

The stored field never changes

Because the substitution happens at render through gform_pre_render, the add-on changes only what is shown on that page load. The field's stored type and admin label are exactly what you set, so your reports, exports, conditional logic and merge tags all keep working against the real field. Nothing is written when the form renders.

A rendered Gravity Form where a field label reads Hello Doctor, resolved from an allow-listed URL parameter
The visitor sees the resolved, escaped label; the stored field type and admin label are unchanged.

Your entries are never touched

The add-on only changes labels at render. It never reads or writes an entry, and the cross-form source reads another form's definition locally through the Gravity Forms API — never an entry. It makes no outbound request except licensing and updates to gravityextra.com, and the editor's preview is protected by a security nonce and the Gravity Forms edit-forms capability.

Frequently asked questions

Can a visitor inject anything through a link? No. A URL parameter is used only if you allow-list its key, and every value is escaped on output, so an injected script is shown as text, never run.

Does it change my stored field or my entries? No. Only the shown label changes at render; the stored field type and admin label, and all your entries, are untouched.

Can one form greet logged-in members by name? Yes. Use the current-user source with the display name, and write a template like Welcome {source}.

Does it need an external service or account? No. It is self-contained, with no API keys and no third-party service.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr