Passing a field value from the View to a form on another page
You can add a link to a View that opens a Gravity Forms form on another page with some of its fields already filled in from the entry. For example, on a job board, an “Apply for this job” link can fill in the job title and job ID on the application form, so applicants don’t have to type them.
The values go in the link’s address (/apply/?job_title=Store+Manager), and Gravity Forms reads them when the form loads. You tell the form which fields can be filled in from a link, then build the link in your View and test it.
Want the form on the same page as the entry? The Gravity Forms field shows it inside your View and fills in fields the same way, through its Field value parameters setting. See How to embed a form for each entry in a View.
Step 1: Let the form’s fields accept values from a link #
Edit the form you want to fill in (in this example, the Job Application form). For each field that should be filled in:
- Click the field to open its settings.
- Open the Advanced section.
- Check Allow field to be populated dynamically.
- Enter a Parameter Name, such as
job_title. You’ll use this name in the link in Step 2.

Save the form. In this example, the Job Title field uses job_title and the Job ID field uses job_id. Parameter names are case-sensitive, so Job_Title and job_title are different names. Gravity Forms’ own guide to the setting is Using dynamic population.
Don’t use parameter names that WordPress already uses, such as name, page, p, year, or author. A link like /apply/?name=Jane opens a “Page not found” error, and the form never shows. Use a more specific name, such as applicant_name. See the full list of names WordPress reserves.
Make sure the form is on a page of your site (here, a page at /apply/).
Step 2: Add the link to your View #
Edit your View and open the Single Entry Layout tab. (To show the link on every entry in the list, use the Multiple Entries Layout tab instead.) Add a Custom Content field. Here it’s labeled “Apply”.

Add Custom Content as a field in the entry area, not as a widget in the Top Widgets or Bottom Widgets areas. A widget isn’t tied to one entry, so its link keeps the merge tag as typed ({Job Title:1:urlencode}), and {entry_id} comes out empty. See Custom Content as a widget or as a field.
Click the gear icon to open the field’s settings, and add a link to the page with your form:
<a href="/apply/?job_title={Job Title:1:urlencode}&job_id={entry_id}">
Apply for this job</a>
How the link is put together:
/apply/is the page with your form.?starts the list of values. Each value is written asparameter_name=value.&separates one value from the next. Use?only once, before the first value. You can add as many values as you need:?job_title=…&job_id=…&department=…job_titleandjob_idmust match the Parameter Names from Step 1 exactly.{Job Title:1:urlencode}is the merge tag for the entry’s Job Title field (field ID 1). To pick a field from a list, click the Insert merge tag icon to the right of the content area. It inserts the merge tag without:urlencode, such as{Job Title:1}, so add:urlencodebefore the closing brace.{entry_id}is the entry’s ID. Passing it lets you connect each application to the job it came from.
Add :urlencode to merge tags for text fields. Characters like &, # and + have a special meaning in a link. Without :urlencode, a job titled “Research & Development Lead” reaches the form as just “Research”. With it, the full title arrives. This applies only to links: in the Gravity Forms field’s Field value parameters, leave :urlencode off.
Save the View.
Step 3: Test the link #
Open an entry in your View and click the link:

For this entry, the link goes to /apply/?job_title=Research+%26+Development+Lead&job_id=23069, and the form opens with those fields filled in:

To keep a value out of sight, such as the Job ID, make that field a Hidden field or set its Visibility to Hidden. It still gets filled in and saved with the entry. Visitors can still change the value by editing the link’s address.
Troubleshooting #
The form opens, but the fields are empty
- Check that Allow field to be populated dynamically is turned on for each field, and that the form was saved.
- Compare each name in the link with the field’s Parameter Name. They must match exactly, including upper and lower case. A link with
?example=…fills nothing unless a field’s Parameter Name isexample. - Make sure only the first value starts with
?. Every value after it starts with&. - Click the link and look at the address in your browser. If it shows a merge tag, such as
{Job Title:9}, the merge tag has a wrong field ID or none, or the link is in a Custom Content widget, which keeps field merge tags as typed. If nothing follows the=, that entry’s field is empty, or the link uses{entry_id}in a widget, where it comes out empty.
Only part of the value appears
The value has a character like & or # in it. Add :urlencode to the merge tag, for example {Job Title:1:urlencode}.
The link opens a “Page not found” error
First, open the form page directly (without anything after the ?) to confirm the address is right. If that works, one of your parameter names is reserved by WordPress, such as name. Rename it in the form field and in the link, for example to applicant_name.
Checkboxes, drop downs, or radio buttons aren’t selected
The value in the link must match the choice’s value. If the choice shows “Morning” but its value is morning, pass morning. A label selects nothing. To select several checkboxes, separate the values with commas: ?shifts=morning,weekend.