🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 14, 2026

How to Prefill a Gravity Forms Form From Another Form’s Entry

GravityExtra
How to Prefill a Gravity Forms Form From Another Form’s Entry

Most businesses do not run on one form. A studio has a registration form and a class booking form. An agency has a quote request and an order form. A course has an application, then an enrolment, then a feedback survey. Each of those forms asks the same person for the same name, e-mail address and phone number — and every repeated question costs completions. In this guide you will learn how to prefill a Gravity Forms form from the visitor’s entry of another form with the Gravity Forms Entry Relay add-on from GravityExtra: through a secure link in your e-mail, from the signed-in user’s latest entry, or from the form the visitor just sent in this browser.

1. The real-world problem: every form starts from zero

Gravity Forms is excellent at collecting one entry. What it does not do on its own is remember who the visitor is when they arrive at the next form. Out of the box, each form is a blank page.

Retyping kills funnels. A two-step process — a short “request a quote” form followed by a detailed order form — is a proven way to raise conversions, but only if step two does not ask for everything again. Visitors who have to re-enter their details on a phone are the ones who give up.

Typos split your records. When the same customer types “Mara Lindqvist” on the registration and “M. Lindquist” on the booking, your CRM, your invoices and your reports disagree. Copying the value from the first entry keeps one spelling.

Links in e-mails are risky when built by hand. The usual workaround is a link with query parameters — ?email=mara@example.com&name=Mara — pasted into a notification. Those links put personal data into browser histories, server logs and analytics tools, never expire, and can be edited by anyone who receives them.

Session tricks break on cached sites. Hand-written code that stores the last entry in a PHP session or a cookie often works on a developer’s laptop and then serves one visitor’s details to the next one as soon as page caching is switched on. It also usually sets cookies on every page view, before the visitor has done anything — exactly what privacy rules ask you not to do.

What you want is a clear, per-form setting: this form is filled from that form, with field pairs you can read, a secure way to carry the visitor across e-mails and devices, and privacy built in.

2. Why custom code and middleware are the wrong tool

Agencies typically reach for one of three approaches. Each has a cost that only shows up later.

  • Custom PHP snippets using dynamic population hooks work for one pair of forms. Every new field ID, renamed field or extra form means another code change, and the security questions — who can open whose data, for how long, on cached pages — are easy to get wrong.
  • Zapier, Make and similar tools move data after submission into other systems. They cannot fill the next form while the visitor is looking at it, and typically cost $20–$50 per month once your volume grows.
  • Doing nothing keeps the retyping, the abandoned second steps and the inconsistent data.
What you compare GravityExtra Entry Relay Middleware (Zapier / Make) Custom code
Fills the next form before it is shown Yes, on the server No (after submission only) Yes, if written for each form
Annual cost From $39 per year for one site $240–$600 per year at volume Developer hours for every change
Setup time Minutes, with “Match fields by label” Hours, outside WordPress Hours to days
Personal data in links Never — sealed tokens Not applicable Often in plain query strings
Expiring / single-use links Built in No Only if you build it
Privacy and caching Memory only after a submission; no-cache on prefilled pages Data leaves your site Up to the developer
Maintenance Updates from gravityextra.com Monitoring zaps Yours, forever

3. Step-by-step: prefill a booking form from a registration

We will use a yoga studio as the example. Members register once (name, e-mail, phone, address, interests, plan, and a List of family members). Later they book classes on a separate booking form, which should arrive filled.

Step 1 — Install and activate

Install Gravity Forms Entry Relay Premium Add-on from your GravityExtra account and activate it. Gravity Forms 2.9 or newer must be active. Go to Forms → Settings → Entry Relay, paste your license key and click Activate License. On the same screen you can set how long the browser remembers an entry (two hours by default) and whether that memory is cleared when a user logs out (on by default).

Step 2 — Add a relay to the form you want filled

Open the Booking form, go to Settings → Entry Relay and click Add New. Under Prefill from, choose Registration. The screen reloads and shows both forms’ fields side by side.

Entry Relay tab on the Booking form: field pairs from the Registration form with Match fields by label, and the entry number copied into a hidden field
Entry Relay tab on the Booking form: field pairs from the Registration form with Match fields by label, and the entry number copied into a hidden field

Step 3 — Pair the fields

Click Match fields by label. Every field of the booking form that has the same label as a registration field gets a row: Your name → Your name, Email → Email, Address → Address, and so on. Adjust anything that differs. You can pick a whole field — a full address is copied part by part — or a single part: just the city into a “City” field, just the first name into a greeting. A List field can be copied with all its rows, or one column of it can be joined into a text field (“Mara, Ola”).

Below the field pairs, Entry details copy facts about the registration itself: the entry number, the date it was sent, the page it came from, the user ID or payment status. A common pattern is to copy the registration’s entry number into a hidden field of the booking, so every booking links back to its member.

Step 4 — Choose how the visitor’s entry is found

Entry Relay finds the visitor’s registration in one of three ways, in the order you choose:

  • Relay link. Set Page with this form to your booking page and put {relay_link} in the registration’s notification e-mail. The link opens the booking form already filled. It carries a sealed token — the entry number is not in it, and changing a single character makes it fill nothing. You can let links expire after a number of days and make each link work only until the form is sent once.
  • Signed-in user. For a members area, turn on use their latest entry: the booking is filled from the logged-in member’s most recent registration, on any device.
  • Browser memory. When a visitor sends the registration and goes straight on to book, this browser remembers that entry for a short time. Nothing is stored when someone merely views a page.

Save, open the booking page in a private window after sending a test registration, and you will see the form already filled. Send the booking and look at the entry: a note says where the data came from — “Prefilled from entry #123 of Registration (browser memory)”.

Find the visitor's entry (relay link, signed-in user, browser memory, forget after sending or on logout) and Relay links with a page, validity in days and single use
Find the visitor's entry (relay link, signed-in user, browser memory, forget after sending or on logout) and Relay links with a page, validity in days and single use
Booking form opened after the registration: name, e-mail, phone, address, interests and plan already filled
Booking form opened after the registration: name, e-mail, phone, address, interests and plan already filled

4. Advanced production tips

Conditional relays. Use Only relay when to fill a form only for certain entries — for example, prefill the premium booking form only when the registration’s plan is Premium. Rules look at the earlier entry: is, is not, contains, starts with, greater than, less than.

One-time survey links. For feedback surveys, make relay links valid for 14 days and single use. The link keeps working while the visitor reloads the page, and stops filling the survey once it has been sent.

Several forms on one page. A landing page can hold a booking form filled from the registration and a survey filled from the newsletter sign-up. Each form gets its own data.

Privacy page. Add the shortcode [gfx_relay_forget] to your privacy page to give visitors a “Forget my saved form answers” link. Turn on Forget the remembered entry once this form is sent for relays where a remembered entry should be used once.

Caching. Pages with a prefilled form tell page caches not to store them, so one visitor’s details are never served to the next.

Developers. Adjust values with the gravityextra/entryrelay/value filter, or veto or replace the entry found with gravityextra/entryrelay/source_entry.

Let visitors answer once

Entry Relay fills your next Gravity Forms form from the visitor’s earlier entry — through sealed links, signed-in users or short browser memory. Set it up in minutes, with privacy built in.

5. Frequently asked questions

Is personal data or the entry number visible in relay links?

No. A relay link contains one sealed token. The entry number and the form data stay on your server, and an edited, expired or already-used link simply opens an empty form.

What does the browser store, and for how long?

Only after a visitor sends a form that another form prefills from, the browser receives a signed, HttpOnly cookie that points to that entry. It lasts two hours by default (you choose), is cleared on logout (you choose per relay), and can be cleared with the forget link.

Which fields can be prefilled?

Text, e-mail, phone, number, Name, Address, drop downs, radio buttons, checkboxes, multi selects, Lists (all rows or one column), hidden fields and more. File uploads and payment card fields are never prefilled.

We used the earlier version — what happens to our links?

Your settings move to the new relay screen automatically, with a backup you can restore. Token links that were already e-mailed keep working, and an optional tool updates the tags in your notifications after showing you a preview.

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