WPForms
98The best WordPress contact form plugin. Drag & Drop form builder to create beautiful contact forms, paymen...
This plugin enables the mapping of your CF7 forms to custom posts, including featured images, files, meta-fields and taxonomies
Post My CF7 Form is a WordPress plugin that allows users to map fields from Contact Form 7 submissions directly to post fields in WordPress. Each form submission is saved as a new post, which can be managed from the dashboard and displayed on the front end.
The plugin supports various field types including default post fields, featured images, meta fields, and taxonomies. It also provides a user interface for mapping submissions to existing post types and includes features for developers to enhance portability and functionality.
Best for: This plugin is suitable for users who need to convert form submissions into WordPress posts efficiently.
What it does well
Where it falls short
Post My CF7 Form provides a practical solution for integrating form submissions with WordPress post management, making it useful for various applications.
Aurovrata Venet's own description of Post My CF7 Form, lightly tidied.
This plugin enables the mapping of each form field to a post field. Each forms submitted from your website will then be saved as a new post which you can manage in your dashboard and display on the front end.
You can submit and map to a post all of the following fields,
v3.0 of this plugin introduces many changes to enable other plugin developers to leverage the functionality available in this plugin. If you are a developer, please look at the code where ample comments are provided.
this plugin introduces form keys (which you can modify in the CF7 admin table). Keys are unique for each form, allowing you identify a form my its key rather than an ID. Why is this priceless? IDs changes from one server to the next because they are the custom post ID attributed by the WordPress installation, and therefore you develop your form in a local machine only to find out that the IDs are different when you move your form to your production server. To overcome this problem, we suggest you use a form key along with this plugin’s contact form shortcode, [cf7form key="contact-us"]. Don’t worry your old contact form 7 shortcodes will still work too, behind the scenes we simply map the key to the ID and call the regular contact form 7 shortcode.
This plugin is now fully compatible with Smart Grid-Layout Designs for Contact Form 7. The Smart Grid for CF7 allows responsive grid-layout designed forms, as well as powerful features such as repetitive field inputs (using table structures with multiple row inputs), repetitive form sections using multiple tabbed inputs, as well as optional input sections using toggled collapsible sections. Furthermore the plugin offers a modular approach to form design, where existing forms can be inserted as sub-sections.
Post my CF7 Form now saves these complex forms designs seamlessly into your dashboard posts.
In addition to mapping your form fields to post fields you are also given a custom filter for that specific form field. The filter option allows you to custom fill the post created for the submitted form, for example if a form requests the date of birth, you may want to create an additional post field for the age, so you can filter the date field in your functions.php file and calculate the age and save it to a custom post meta field. The custom filters are created using the following nomenclature, cf7_2_post_filter-<post_type>-<post-field>. For example if you have created a custom post type quick-contact, which as a meta field age, you could filter it with,
add_filter('cf7_2_post_filter-quick-contact-age','filter_date_to_age',10,3);
function filter_date_to_age($value, $post_id, $form_data){
//$value is the post field value to return, by default it is empty
//$post_id is the ID of the post to which the form values are being mapped to
// $form_data is the submitted form data as an array of field-name=>value pairs
if(isset($form_data['date-of-birth']){
//calculate the age
$value = ....
}
return $value;
}
Author – unless the user sets the field, the default set in this order: current logged in user else, the recipient of the CF7 form email if such a user exists in the database, else it reverts to the user_id=1 which is the administrator. A filter is also available to set the author.
Other plugins for building forms.
The best WordPress contact form plugin. Drag & Drop form builder to create beautiful contact forms, paymen...
The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam sol...
Get a fast contact form plugin. Create advanced forms using drag and drop form builder with all smart features...
Best WordPress form builder plugin. Create contact forms, payment forms & order forms with 1000+ integrati...
Save and manage Contact Form 7 messages. Never lose important data. It is a lightweight contact form 7 databas...
Elementor forms builder to create WordPress forms like contact form, booking form, feedback form, survey form,...