=== Form Redirection For Contact Form 7 === Contributors: sach27298 Tags: contact form 7, contact form redirect, cf7 redirect, redirect after submit, thank you page Requires at least: 5.5 Tested up to: 7.0 Requires PHP: 7.2 Tested with PHP: 8.2.12 Stable tag: 1.0.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Redirect Contact Form 7 submissions to a thank you page or custom URL with optional delay. Simple, lightweight, and easy to configure. == Description == **Form Redirection For Contact Form 7** lets you redirect visitors to any page or URL immediately after a successful Contact Form 7 submission. Whether you want to send users to a thank you page, download page, booking confirmation, or another website, this plugin makes it easy without writing custom JavaScript. The plugin integrates directly into the Contact Form 7 editor and works with AJAX-enabled forms. **Features:** - Adds a new **Redirection** tab to Contact Form 7 forms - Choose a page from your site or enter a custom URL - Enable or disable redirect per form - Works with AJAX-enabled CF7 forms - No dependencies, no bloated UI, fully native - Redirect users after successful Contact Form 7 submission - Redirect to any internal page - Redirect to any external URL - Built-in delay before redirecting - No coding required - Lightweight and fast - Secure WordPress coding standards == Installation == 1. Upload the plugin folder to `/wp-content/plugins/` or install via WordPress Dashboard → Plugins → Add New. 2. Activate the plugin through the “Plugins” menu in WordPress. 3. Go to any Contact Form 7 form → click the new **Redirection** tab. 4. Set the redirection settings, save the form, and you're done! == Frequently Asked Questions == = Does this plugin work with AJAX forms? = Yes. The plugin listens for the `wpcf7mailsent` JavaScript event and performs redirection accordingly. = What if both a page and a custom URL are set? = The plugin will prioritize the **custom URL** if it is filled. = Will this plugin slow down my site? = No. It only loads code inside the CF7 admin interface and add a small script per form on the front-end only if CF7 is active. = Is Contact Form 7 required? = Yes. This plugin will not activate unless Contact Form 7 is active. = Can I redirect to a thank you page? = Yes. Select any existing WordPress page or enter a custom thank you page URL. = Can I redirect to another website? = Yes. You can redirect users to any external website by entering its full URL. = Does this work with multiple Contact Form 7 forms? = Yes. Every Contact Form 7 form has its own independent redirect settings. = Can I redirect after a successful Contact Form 7 submission? = Yes. The redirect only happens after Contact Form 7 successfully submits the form. == Screenshots == 1. The Redirection tab in Contact Form 7 editor == License == This plugin is licensed under the GPLv2 or later. == Changelog == = 1.0.0 = * Initial release * Adds support for redirection settings in Contact Form 7 * Secure AJAX endpoint with nonce * Works with all CF7 forms * Tested with WordPress 6.8.2 and PHP 8.2.12. = 1.0.1 = * updated whole plugin slug * fixed slug related bugs = 1.0.2 = * Added dependency header for Contact Form 7 * Updated contributors * Removed wp.org directory assets from plugin ZIP = 1.0.3 = * Fixed minor bugs and improved stability. * Tested with WordPress 7.0 and PHP 8.2.12. * Add links for how to use and review in plugin section. * Match Toggle's background color with latest version admin theme.