Tell us what you are trying to do?
Adding Custom Post Type title to Gravity Forms notification. I have already inserted the custom post email into the email To: field by using a hidden field and it works great. I will have 80 different companies and when a form is filled in on that company's page (post), that entry needs to have a different title. I have tried Request Service Form for {wpv-post-title} and Request Service Form for [wpv-post-title]. This seems like I'm just missing a piece. Do I need to create another hidden field to pull in the post title?
Is there any documentation that you are following?
Actually unless the gravity forms notification hook can process shortcodes then you won't be able to use our Types shortcodes within their notification.
The best way to do it as you say is to create a hidden field and add your title to that field so that you can create the notification using that hidden field.
Thanks Shane,
Do you know specifically what to put in the hidden field to get the Post titile? would it be {custom_field:wpcf-post-title} or something similar to that?
Happy to see that you were able to get this resolved.
On a side note only custom fields created in Types will require the "wpcf-" prefix. If it is a default wordpress field you only need to put the field slug and not the wpcf- prefix.
Please let me know if everything is ok now.
Thanks,
Shane
The topic ‘[Closed] Adding Custom Post Type title to Gravity Forms email notification’ is closed to new replies.