HIDE

Advanced Applications

There are two ways to achieve this goal:

Enable Remove Empty Form Input Fields Function in Other Options (Submit Button)

By default, all form fields are sent via shortcode: [all-fields]. Want to customize sent fields? Copy the shortcode that appears inside the field and paste it above. Enter this if you want to customize sent fields and remove line if field empty [field id=”your_field_id”][remove_line_if_field_empty]

The first option in Image Select field or other option fields will be chosen in default.
You just need to leave a blank/a pipe in the first option in your case.
For example: 
 

You can enter this in the redirect within submit button: http://your site URL/?a=[field id=“abcd”] (if you have multiple fields, you can add “&”)

In the form that you want to get data. You create a field and add dynamic field value to get the value of the shortcode

E.g. You want to get parameter value from URL https://piotnetforms.com/?utm_source=a

Set up this format in default value {{request | parameter:a}}

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. 

Tutorials

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.

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 > advise to your email custom field.

Step 4:

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

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.