Summer Sales 20 Off for Piotnet Addons & Piotnet Forms

Custom field values application

Imagine that you have a Workshop Post type that includes upcoming events. In these events, they have a standard form format in order for participants to register. 

Depending on specific events, the form will be sent to different target email addresses.

Instead of creating manually multiple forms for posts, you just need to create only a standard form. This article will show you to manage it. 


Step 1: Set up a specific Post Type

Set up an Email Custom field type (Mandatory) and a corresponding condition rule.

You can apply Post, ACF, Metabox, JetEngine, Pods, and Toolset Custom field.

Complete the email data input for all posts of this Post Type.

Step 2: Create your own form by Piotnet Forms

Screenshot 1

Step 3:

Use a hidden field as a connection bridge in your form.

Implement a hidden field in your form.

Edit the Hidden field > Default Value > Dynamic Tags > ACF Field as in this demonstration > revise your email custom field name

Screenshot 2 1

Step 4:

Embed the shortcode of the hidden field to the Email box (Action After Submit)

Screenshot 3

Step 5:

Embed this form shortcode to anywhere (post type for this above example) or apply en masse this form for your single template/post/page.