It concerns a renovation project of a site with a lot of content (www.vds.nl). Because a lot custom post types where used I have migrated the old set up to Toolset.
One of the custom post types concerns the team with personal or generic e-mail addresses.
My question is: how to use the Toolset short code for the email address in Gravity Forms.
The Toolset short code for a linked email address is [types field='e-mailadres' item='@team-nieuws-new.parent'][/types] (left on the test site linked info@fentix.nl)
The Toolset short code for a raw email address is [types field='e-mailadres' output='raw' item='@team-nieuws-new.parent'][/types] (left on the test site raw info@fentix.nl)
The dev site is hidden link and the test form is on hidden link
The button "mail mij (form 101) is the test for sending a mail to the author of the news item, f.e. hidden link
Please advise,
Hi, I think this is a good question for the Gravity Forms support team. I'm not sure how to pass a dynamic email address into their software, but a quick search led me to these documents:
https://docs.gravityforms.com/using-dynamic-population/
https://docs.gravityforms.com/embedding-a-form/
If there is a shortcode approach, you might be able to use the Types field shortcode to pass a value into the Gravity Forms shortcode. I would ask their support team if it's possible to set the email address in a form using shortcodes.
Hi Christian,
Thanks for your help! I already had asked for advice from GF as well and have read all the docs available.
The solutions they offered where a bit complex and inconclusive until now. For the long term a risk for the maintainability.
Anyway, I choose to work the other way round. I have added an extra custom field (field group) with the short code to the forms. With types the right form for the team member is selected after clicking the button. I big advantage is that we have stats for every team member from now.
Cheers
Peter