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%
Health Inspector
Health Inspector gives you a clear, honest view of what is actually happening inside your WordPress site — without touching a single byte of your data. Think of it as a medical chart for your WordPress install. It surfaces findings, flags issues, and helps you trace the root cause of problems — but it never acts without your permission. Every database query is SELECT-only. Nothing is inserted, updated, or deleted. Who it’s for Site owners who want to understand why their site is slow Developers debugging PHP errors and plugin conflicts Agencies doing pre-launch or ongoing site audits Anyone who wants to stop guessing and start knowing The Modules 🔴 Error Log Viewer PHP error log analysis — grouped, severity-rated, and sorted so you see the most important errors first. Each group shows first-seen and last-seen timestamps, occurrence count, file path, and line number. The viewer also detects whether your debug log is web-accessible and escalates the health score if so. 📅 What Changed? — Timeline Correlation The most useful debugging tool on this list. Every plugin update, activation, WordPress core update, and theme switch plotted on the same interactive timeline as your PHP error spikes. Hover any event to see correlation scores (0–99) with plain-English reasoning explaining why a change and an error are likely connected. 🗄️ DB Health Inspector Table bloat analysis, autoloaded options ranked by size, orphaned postmeta counts, Action Scheduler history, and autoload index verification. If your database is slowing you down, this is where you find out why. ⚙️ Cron Inspector Standard WP-Cron and Action Scheduler jobs in a single unified view, sorted chronologically with next-run times, intervals, and overdue highlighting. No more mystery cron tasks. 🔌 Blast Radius Analyzer Shows the full footprint of every active plugin: custom database tables, scheduled cron jobs, REST API routes, enqueued scripts and stylesheets, and hook registrations. Know exactly what a plugin owns before you deactivate it. 🚀 Update Impact Analysis Before updating any plugin, see what it shares with the rest of your site — common hooks, custom DB tables, scheduled jobs, REST endpoints, and asset bundle size — so you can anticipate conflicts before they happen. 📦 Autoload Governor Per-plugin autoload size attribution. See exactly which plugins are adding weight to every single page load, and how much. 💣 Time Bomb Detector SSL certificate expiry monitoring, PHP version risk assessment, and stale plugin flagging. Problems that tend to surface at the worst possible time — surfaced early, on your schedule. 🕵️ Plugin Abandonment Radar Every installed plugin cross-checked against the WordPress.org Plugin API for last-updated staleness, tested-up-to drift, and closed or removed status. Closed plugins are often removed for unpatched security vulnerabilities — this module tells you before it becomes a problem. 📜 Asset Inspector Every script and stylesheet WordPress has enqueued, with file sizes and running totals, separated by JavaScript and CSS. 🖥️ Server & PHP Environment php.ini directive audit, key wp-config.php constants review, PHP extension checklist, and database server details — all in one place. 📊 Hosting Benchmark On-demand database, PHP, and filesystem performance probes with letter grades and object-cache detection. ✉️ Mail Health Inspector WordPress mail transport detection, live SPF/DKIM/DMARC/MX DNS record checks, and a one-click send test that returns real failure messages instead of generic errors. 📄 Export Report Generates a self-contained, downloadable HTML diagnostic report covering the health score, database metrics, error log summary, and full system snapshot. Shareable with hosting support or a developer without granting admin access. 100% Read-Only Every query this plugin runs is SELECT-only. It reads your site’s state; it never changes it. No rows inserted, no settings modified, no plugins deactivated. Want more? WP Health Inspector Pro adds Root Cause Analysis, Conflict Detector, Request Profiler, External Dependency Monitoring, Performance Baselines, Core Web Vitals estimates, Security Audit, Content Health, and weekly Health Digest emails. Learn more at wphealthinspector.com External Services This plugin connects to the official WordPress.org Plugin API to power the Plugin Abandonment Radar module. What it does: for each installed plugin, the plugin requests that plugin’s public directory listing (last-updated date, tested-up-to version, and open/closed status) from the WordPress.org Plugin API, so it can flag plugins that appear abandoned or removed. When it happens: only when an administrator views the Plugin Abandonment Radar page. Results are cached for 12 hours between requests. Data sent: only the plugin slugs of plugins already installed on your site. No site content, user data, or personally identifiable information is sent. Service provider: WordPress.org API endpoint: https://api.wordpress.org/plugins/info/1.2/ Terms of Service: https://wordpress.org/about/terms-of-service/ Privacy Policy: https://wordpress.org/about/privacy/