Data Source for Contact Form 7
Data Source for Contact Form 7 plugin allows populating the “Contact Form 7” fields (text, email, URL, drop-down menu, …) with data stored in external data sources, like a database, CSV file, URL parameters, users information, post data, taxonomies, Advanced Custom Fields (ACF) – Secured Custom Fields, and JSON objects. Data Source for Contact Form 7 includes two new controls in the controls bar of Contact Form 7, recordset and recordset field link. The “recordset” control reads the information from the external data source (a database, a CSV file, or any other data source supported), and the “recordset field link” control for linking the recordsets and form fields to populate them with the recordset data. A form can include several “recordset” fields, and it is possible to link multiple “recordset field link” controls to the same recordset. The new SQL-Generator module. It generates the database queries in a more conversational style. Just describe the information needed, and get the DB query without any prior database knowledge. How to create the simplest contact form from our practical examples. The plugin includes other complementary controls in the controls bar in addition to the “recordset” and “recordset field link”. The “Print Form” button for printing the form area, “Data Table” control for inserting an advanced table with the recordset records, “copy to clipboard” functionality for copying the values of the fields into the clipboard, and the “Search box in dropdown menu” functionality to make easy the selection in long dropdown menus. Features: Set the information of external data sources available for the Contact Form 7 fields. Easy to use, includes two new controls in the controls bar to define the recordsets and the link fields. Includes the “URL Parameters” data source to populate the form’s fields with the values of the URL parameters. Includes the “Users Information” data source to populate the form’s fields with the users’ information. Includes the “Posts Information” data source to populate the form’s fields with the posts’ data, pages, and custom post types (like the WooCommerce products). Includes the “Taxonomy” data source to populate the form’s fields with taxonomy terms, like categories, posts tags, or any other custom taxonomy. Includes the “Database” data source to populate the form’s fields with the information of a database. Allow defining even complex queries. SQL Generator module. It generates the database queries in a more conversational style. Includes the “Javascript Function” data source to populate the form’s fields with the information returned from a Javascript function. Allows using the fields’ values for filtering the recordset records. Complementary Controls add-on. Includes additional controls and functionalities, such as the “Print Form” button, the addition of the search box to the drop-down menu, copy to clipboard functionality, and Data Table to display the data source records. Features in Premium version: All features of the free version of the plugin. Includes the “Advanced Custom Fields (ACF) – Secured Custom Fields” data source to fill the form filds with data stored in the Advanced Custom Fields or Secured Custom Fields in post, users, comments, taxonomies, widgets, and options. Includes the “CSV” data source to populate the form’s fields with the data store into a CSV file. Includes the “JSON” data source to populate the form’s fields with the data store into a JSON file. There are hundreds of services whose outputs are JSON objects. PDF Generator add-on. It generates PDF files with the information collected by the form and attaches them to the notification emails (Supports the “Conditional Fields for Contact Form 7” plugin tags in the PDF file content if the “Conditional Fields for Contact Form 7” plugin is installed on the website). Post Generator add-on. It generates new posts (posts, pages, or any custom post) with the information collected by the form. User Registration add-on to convert contact forms into user registration forms. CSV Generator add-on to populate a CSV file with the information collected by the form. JSON Generator add-on to populate a JSON file with the information collected by the form. Server Side add-on to implement server side functions to call from the Recordset controls and get the list of records. Data Source Fields Data Source for Contact Form 7 includes two new controls in the controls bar of Contact Form 7, recordset and recordset field link. The recordset control reads the information from the external data source and makes it available on the form. A recordset field can read one or many records from the data source. To insert a recordset field in the form, press the “recordset” button in the controls bar. This action opens a dialog to define the recordset. The insertion dialog includes common attributes for all data sources and specific attributes for the data source selected. The “recordset field link” control links a recordset field to other fields in the form to populate them with the recordset data. To insert a link field in the form, press the “recordset field link” button in the controls bar. This action opens a dialog to define the relationship between a recordset and a form’s field. The link dialog includes the attributes to define the relationship between the recordset field and the form’s fields. Cases of Use Get the information of the registered user and populate the form fields for his name and email: Your name [text* your-name] Your email [email* your-email] Subject [text* your-subject] Your message (optional) [textarea your-message] [cf7-recordset id="cf7-recordset-434" type="user" attributes="first_name, user_email" logged="1"] [cf7-link-field recordset="cf7-recordset-434" field="your-name" value="first_name"] [cf7-link-field recordset="cf7-recordset-434" field="your-email" value="user_email"] [submit "Submit"] Filling a plain text in the form with the first name and last name of the logged user: Hello Enter your address [textarea address] [cf7-recordset id="cf7-recordset-434" type="user" attributes="first_name, last_name" logged="1"] [cf7-link-field recordset="cf7-recordset-434" field="first-name" value="first_name"] [cf7-link-field recordset="cf7-recordset-434" field="last-name" value="last_name"] [submit "Submit"] Populates the list of WooCommerce products and get the price of the selected one: Products List [select menu-719] Product Price [number number-534] [cf7-recordset id="cf7-recordset-619" type="database" engine="mysql" query="SELECT ID,post_title,meta_value as price FROM {wpdb.posts} posts, {wpdb.postmeta} meta WHERE posts.post_type='product' AND posts.ID=meta.post_id AND meta.meta_key='_regular_price'"] [cf7-link-field recordset="cf7-recordset-619" field="menu-719" value="ID" text="post_title"] [cf7-link-field recordset="cf7-recordset-619" field="number-534" value="price" condition="record['ID']=={field.menu-719}"] [submit "Submit"] Using templates to create complex data structures. Displaying the title and excerpt of every published post: {attribute.post_title} {attribute.post_excerpt} [cf7-recordset id="cf7-posts" type="post" attributes="post_title,post_excerpt" condition="post_status='publish' AND post_type='post'"] [cf7-link-field recordset="cf7-posts" field="posts-list" value="{template.summary}"] The form includes a template tag to design a complex data structure. To access the records attributes from the template, use {attribute.attribute-name} format. Ex. {attribute.post_title} You can use the templates for the fields’ values or texts. The format for referring to templates is {template.template-id}. You should replace “template-id” with the id of the template tag. Ex. {template.summary} [cf7-link-field recordset="cf7-posts" field="posts-list" value="{template.summary}"] Using Javascript to Access the Recordset Data The recordset fields trigger the “cf7-recordset” event after receiving the information from the data source, allowing you to access this information with Javascript. In this example, the recordset field reads motivational phrases from a third-party service and displays the first of them into a DIV tag on the form. Add ons (Extensions) Complementary Controls add-on PDF Generator add-on Post Generator add-on User Registration add-on CSV Generator add-on JSON Generator add-on Server Side add-on
Top keywords
- form38×2.98%
- recordset37×2.90%
- data36×2.83%
- fields29×2.28%
- field23×1.81%
- data source20×1.57%
- source20×1.57%
- post19×1.49%
- includes17×1.33%
- information17×1.33%
- controls15×1.18%
- add-on14×1.10%
Views for WPForms – Display & Edit WPForms Entries on your site frontend
If you’re using the WPForms plugin to create forms on your WordPress site, then we have some great news for you. With the Views for WPForms plugin, you can now display and edit form entries on the front end of your site. That’s right, no more logging into the backend to manage your form entries. With our drag & drop view builder, you can easily create table or list views of entries, allow users to edit entries and approve or disapprove entries from the frontend of your site. Our plugin is also compatible with all WPForms Forms Add-Ons, so you can add even more features and functionality to your forms. NOTE: YOU NEED AT LEAST WPFORMS BASIC LICENSE TO USE VIEWS FOR WPFORMS AS WPFORMS LITE VERSION DOESN’T STORE ENTRIES Here is step by step guide to display WPForms Entries anywhere on your site Views for WPForms lets you display WPForms Entries in your site frontend using drag & drop View builder. You can create a table view, list view, or datatable (Pro feature). The plugin also allows you to add custom content before and after each View, and control the number of entries displayed per page. Demo Table View List View DataTable View Edit Entry Demo Top Free Features Intuitive user interface! Easy to use – drag and drop view builder! Set any number of form fields to show in View. Set custom labels for table headings. Set table column width. Set total number of entries to show on the page. Add pagination links before or after the table. Display Pagination Information. Display using Shortcode on any page, post or custom post type. Compatible with Elementor. Add Views to any page using Elementor Widgets. Compatible with the new Gutenberg block editor. Add View to your page using the WPForms Views block. Fully supported and regular updates. Get more features in Pro version * List View Format * DataTable View Format * Edit Entries from frontend * 25+ Premade Themes and Styler * Delete Entries from frontend * Display only approved Entries * Display only User submitted Entries * Add Search Form above or at View bottom to filter/search entries by field values * Display Entry details on Single Page * Add Custom HTML field & use WPForms Smart Tags inside View * Filter entries by field values or use Merge Tags * Sort WPForms Entries via field values * Display Only starred entries * Display Only viewed entries Get WPForms Views PRO! Pro Features = List & DataTable View Format = Display WPForms Entries in a multicolumn layout on your site frontend. Want more features than a regular table? We have you covered. Display data using dataTables including features like responsive layout, print, pdf, CSV download entries options. Edit WPForms Entries Allow logged-in users to edit their entries from the site frontend using the same form that they used to create an entry. Edit Entry works by prefilling Form fields with entry data. After the user submits Form entry is updated. Administrators can edit all entries. Send a custom notification/email when entry is edited from frontend Inline Edit WPForms Entries Inline Edit Entries without page refresh. The user will never leave the page & can update one field at a time. Best for quick updating of fields displayed in a View. Delete WPForms Entries Allow users to delete their submitted entries from the site frontend. Logged-in users can delete their entries and administrators can delete any entry. Premade themes & Custom Designs Apply premade Table and List View themes with single click. Select from 25+ premade design templates or create your own custom designs without any css Knowledge. Search WPForms Entries Display Search Form in your View to allow users to filter view data by any field value. Options also include searching by Entry Submission Date or Date Range e.g. Display entries submitted between two dates. Advanced Filters Set Filters to Filter Entries before displaying on the site frontend by using any Form field value, logged-in user meta, custom dates, etc. E.g. Display all entries where the user selected Male as Gender field value while submitting the form. Advance Sorting Sort by any Field value in Ascending or Descending order. Allows you to add multiple sort conditions. Entries Approval Display only those entries that are approved by admin from the backend. Approve or Unapprove Entries from site frontend. Calculations Display calculations like sum or average of field values in the table footer. Display Conditions Show field in view only if set conditions are matched. Duplicate Entries Duplicate Entries from your view. Customize Field Value Add any content before or field value inside view using Field Value Template. Google Maps Add-on Display data on Google Maps above or at bottom of View. Custom HTML Add custom HTML within View data. Support WPForms Smart Tags so you can display data by combining multiple field values. WPForms User Registration Addon Integration Works perfectly with User Registration Addon. Register new users on site, display their profile data on the frontend using WPForms Views & then allow them to update it using the Inline Edit addon. WPForms Post Submissions Addon Integration Update associated posts whenever you update entries from WPForms Views. Allow users to update their posts from the site frontend. WPForms Save and Resume Show or hide partial entries within View. Display the Entry Resume link to allow the user to complete partial WPForms entries. WPForms Geolocation Add-on Show Google Maps on the page where you have added View. Create a custom infobox with the data from the WPForms fields. Other WPForms Add-ons = WPForms Import Entries = Import Entries to WPForms CSV file WPForms Charts Display data from your WPForms entries in beautiful charts