Skip Navigation

[Resolved] get custom post title to dynamically populate gravity forms field

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 7 years ago.

Assisted by: Nigel.

Author
Posts
#589189

Hi,

I have created custom posts (job vacancies) each job vacancy has an apply now button which links to a gravity forms application form.

I want to add a single line field to the application forms that dynamically populates with the title (custom post title) of the job vacancy being applied for.

Is there a merge tag or way of achieving this?

#589345

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Sharon

You can either pass the title (or any other field from the vacancy post) to the Gravity Form dynamically using URL parameters or shortcode attributes, as described here: hidden link, depending on how you are creating the links to your form.

You can generate the required parameter with a Views shortcode for the title, something like this if you are linking to a page with the form:

<a href="site.com/page-with-form/?vacancy=[wpv-post-title]>Apply</a>

Btw, you should use the professional support forum for more prompt attention.

The forum ‘Types Community Support’ is closed to new topics and replies.