=== Live Preview for Contact Form 7 === Contributors: contactform7addons, gusruss89 Tags: contact form 7, contact form 7 style, contact form 7 preview, contactform7, contact form 7 theme Requires at least: 4.4 Tested up to: 5.3 Stable tag: trunk Donate link: https://www.paypal.me/AngusRussell License: GPL-2.0+ License URI: http://www.gnu.org/licenses/gpl-2.0.txt View a live preview of your form as you're building it. Contact Form 7's form tags can be hard to wrangle. Immediate feedback saves you time. == Description == View a live preview of your form as you're building it. = Contact Form 7 Preview = Contact Form 7 is great, but building your forms using form tags can be painful and slow when you have to constantly save, switch tabs and refresh to see your changes. Contact Form 7 Live Preview relieves this pain by displaying a live preview of your form directly underneath the form editor. = How does it work = Contact Form 7 Live Preview creates a "dummy" form and displays it in the live preview pane. Whenever you make changes to a form you're working on, it saves your current state to the dummy form and refreshes the preview. This means you don't have to save your form to see your changes, which can be especially important if your form is currently live. The dummy form is set to [`demo_mode: on`](https://contactform7.com/additional-settings/), which means you can test the validation and success messages and no emails will be sent. = Note: It may not work with some themes or plugins = The preview window displays _just_ the form. It loads your site's scripts and styles as long as they're enqueued properly via [hooks](https://codex.wordpress.org/Plugin_API/Action_Reference/wp_enqueue_scripts). If something isn't looking right in the preview, make sure your scripts and styles are enqueued correctly, and aren't loaded conditionally (E.g. `is_page('contact'))`. If it doesn't work for you, please don't go straight for leaving a bad review. Let me know in the forums and we'll figure out if the problem is with the plugin, or with your theme. If it's a problem with the plugin I'll try and fix it. = Features: = * Live preview changes to your form * Test validation and error messages without sending emails * Set the background colour of the preview (helpful if your form is going to be on a different coloured background once live) * Works with most CF7 addons that affect the look and behaviour of your form = Tested with: = * [Material Design for Contact Form 7](https://wordpress.org/plugins/material-design-for-contact-form-7/) * Conditional Fields for Contact Form 7 == Installation == 1. Upload the zip to the `/wp-content/plugins/` directory and unzip 1. Activate the plugin through the 'Plugins' menu in WordPress OR go to 'Plugins' > 'Add new', and search for 'contact form 7 live preview' to install through the WordPress dashboard. == Screenshots == 1. Live preview window directly beneath form editor. 2. Works with your site's other scripts and styles. 3. Even check your form's validation and success messages! == Changelog == = 1.2.0 = * Fixed a security issue allowing logged in users without the correct privileges to update the hidden contact form. = 1.1.0 = * Fixed autoreloading * Fixed the JavaScript alert asking if you want to save before leaving * Added a width slider = 1.0.1 = * Updates to comply with the "Contact Form 7" trademark policy = 1.0.0 = * Plugin has been stable long enough to be given 1.0.0 tag = 0.1.4 = * Fix a bug that displayed admin bar on front end = 0.1.3 = * Fix a deactivation bug = 0.1.2 = * Fix a plugin activation bug = 0.1.1 = * Add support and rating links to sidebar = 0.1.0 = * First release - beta