=== Redirection for Contact Form 7 ===
Tags: cf7 redirect, redirect cf7, contact form 7 MailChimp, redirect to URL, contact form 7 paypal
Contributors: codeinwp, themeisle, yuvalsabar, regevlio
Requires at least: 5.2.0
Tested up to: 6.8
Stable tag: 3.2.6
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Redirect to any page or URL, execute scripts after submission, save data to the database, and unlock additional submission actions for Contact Form 7.

== Description ==

Redirection for Contact Form 7 enhances your forms with essential post-submission actions all in one plugin. Store form entries in your database, redirect users to any page or URL, send email notifications, block spam with honeypot protection, and help with GDPR compliance through data export/erase requests.

Want more power? Our PRO version includes JavaScript execution after submission, webhook integration for third-party services, conditional logic based on user input, frontend post creation, PDF generation from form data, and seamless integrations with popular services like Mailchimp, PayPal, Stripe, HubSpot, Salesforce, and Twilio.

== 🔗 HELPFUL LINKS: ==

- Need any help with setup? [CHECK DOCUMENTATION](https://docs.themeisle.com/collection/2014-redirection-for-contact-form-7)

- Interested in Redirection For CF7 Pro? [LEARN MORE](https://themeisle.com/plugins/wpcf7-redirect/upgrade/?utm_source=wpadmin&utm_medium=wpcf-7readme&utm_campaign=pro-cta)

== USAGE ==

Simply go to your form settings, select the "Action" tab, and add additional Submission Actions based on your requirements.

**NOTE:** This plugin requires CF7 version 4.8 or later.

== 🤝 HOW REDIRECTION FOR CF7 CAN HELP YOU: ==

- **Redirect to Any URL:** Easily redirect users to any specific webpage after form submission, enhancing user navigation and experience.

- **Open Page in a New Tab:** Configure forms to open the target URL in a new tab, keeping your site accessible to users post-submission.

- **Pass Fields from the Form as URL Query Parameters:** Seamlessly append submitted form data to the URL as query parameters, enabling personalized follow-up pages.

- **Add Honeypot to Minimize Spam:** Integrate a honeypot technique in your forms to prevent spam without affecting user experience.

- **Save Form Submissions to Your Database:** Automatically store all form submissions in your database, ensuring no data loss and facilitating easy back-referencing.

- **GDPR Compliance - Create Erase Personal Data Request:** Allow users to initiate requests for erasing their personal data, ensuring compliance with GDPR mandates.

- **GDPR Compliance - Create Export Personal Data Request:** Enable users to request exports of their personal data, supporting transparency and adherence to GDPR guidelines.

== 🤩 GET MORE FEATURES WITH REDIRECTION FOR CF7 PRO ==

- **Add Conditional Logic:** Enhance your submission actions with the Conditional Logic of Actions Extension. Set If/Or rules based on user inputs to manage powerful conditional rules effectively.

- **Run JavaScript After Form Submission:** Execute custom JavaScript code after a form is submitted, ideal for tracking conversions and integrating with analytics tools.

- **Create and Send PDF:** Add the option to generate and send PDF using the submitted form fields. 

- **Frontend Publishing:** Add the ability to allow your users to publish posts from your website front-end.

- **Webhook Integration:** Supercharge your forms with advanced Webhook support—seamlessly connect to third-party apps using POST, GET, DELETE, and PATCH methods, with full compatibility for PARAMS, JSON, and XML formats.Empower your forms with advanced Webhook integration, supporting POST, GET, DELETE, PATCH methods and PARAMS, JSON, and XML formats for comprehensive connectivity with third party apps.

- **Add a Thank You Popup:** Add the ability to thank your users with a noticeably designed thank-you popup.

- **Integrate with Mailchimp:** Add the ability to register submitted forms to any of your MailChimp lists.

- **Integrate PayPal & Stripe:** Collect payments from your users by redirecting them to PayPal or Stripe.

- **Integrate with HubSpot CRM:** Add the ability to send form submissions from Contact Form 7 to HubSpot CRM.

- **Integrate with Salesforce CRM:** Add the ability to send submission forms from Contact Form 7 to Salesforce CRM.

- **SMS with Twilio Integration:** Add the ability to send SMS messages to your users or notifications to yourself using Twilio.

Unlock these premium features and more with **[Redirection for CF7 PRO](https://themeisle.com/plugins/wpcf7-redirect/upgrade/?utm_source=wpadmin&utm_medium=wpcf-7readme&utm_campaign=unlock-pro-cta)!**

**Still have questions?** Ask your pre-sales questions **[here](https://themeisle.com/contact/?utm_source=wpadmin&utm_medium=wpcf-7readme&utm_campaign=pre-sales)**, and we will get back to you promptly. Or, purchase with confidence and try it for yourself—we offer a **30-day no-questions-asked 100% money-back guarantee**.

== 🤔 WHAT YOU CAN DO WITH REDIRECTION FOR CF7: ==

Redirection for Contact Form 7 opens up a world of opportunities! Explore how different audiences can leverage its features:

- **📦 E-commerce Sites:** Automate order confirmations and updates through SMS with the Twilio integration, providing customers with real-time updates directly on their phones.

- **🫶 Non-Profit Organizations:** Enhance donor engagement by redirecting donors to personalized thank you pages using Conditional Logic, and manage GDPR compliance with data export and erase requests.

- **🏠 Real Estate Agencies:** Direct potential clients to a customized URL after form submission, showcasing specific property details or offers based on the input from inquiry forms.

- **🛠️ Tech Support Services:** Link form submissions with Salesforce or HubSpot CRM to automatically create support tickets and manage follow-up actions efficiently.

- **📚 Education Providers:** Implement the Frontend Publishing feature to allow students to submit assignments and projects directly through forms, making submission processes smoother and more organized.

- **📈 Marketing Teams:** Capture lead information and automatically add it to a Mailchimp email list for subsequent marketing campaigns, ensuring seamless integration with your digital marketing strategies.

- **💵 Freelancers and Consultants:** Offer a streamlined payment process by integrating with PayPal and Stripe, allowing clients to pay for services directly through the submission form.

- **📝 Bloggers and Influencers:** Manage user-generated content by enabling frontend post submissions, allowing followers to contribute stories, photos, or feedback directly on the website.

== ✨ YOU SHOULD USE REDIRECTION WITH CF7 IF: ==

- **You Want to Personalize User Journeys:** Provide a tailored experience by redirecting users to pages that fit their needs.

- **You Aim to Automate Processes:** Simplify workflows by directing users to relevant resources or actions after form submission.

- **You Seek to Increase Engagement:** Capture user interest by guiding them to content or offers that resonate with them.

- **You Need to Optimize Conversions:** Redirect users to strategically designed pages to maximize conversion opportunities.

- **You Plan to Manage Leads Efficiently:** Ensure leads are channeled to the right destination for effective handling and follow-up.

== 👋 WE’RE HERE FOR YOU, AND WE TAKE ALL FEEDBACK SERIOUSLY ==

- **📚 Knowledge Base:** We’ve created a complete [documentation](https://docs.themeisle.com/collection/2014-redirection-for-contact-form-7) library and we’re still constantly updating with new tutorials.

- **🦸 Support forum:** We’re here to help. Feel free to open a new thread on the [Support Forum](https://wordpress.org/support/plugin/wpcf7-redirect/).

== 🎙️ SEE WHAT REAL USERS TALK ABOUT US ==

- [Very nice and helpful plugin](https://wordpress.org/support/topic/very-nice-and-helpful-plugin-5/) - "This is a very helpful plugin. It makes my task much easier and it is also very nice for website users to be redirected to the summary page of their entries."

- [Works like a charm :)](https://wordpress.org/support/topic/works-like-a-charm-2147/) - "What else to say? When a customer submits a form, it fluently redirects him/her to specific url when I say “Thank you for submitting the form, we will contact you later…”. So thank you very much creators!"

- [5 star](https://wordpress.org/support/topic/5-stars-533/) - "Working with Conversion tracking and I like the fact that you can pull the contact form fields in that you want to show on the Thank you page. Everything works fantatic."

- [Really useful!](https://wordpress.org/support/topic/really-useful-311/) - "Just chiming in with a positive review. Works great, and has been for a while now. Thanks so much!!"

== Installation ==

Installing Redirection for CF7 can be done either by searching for "Redirection for CF7" via the "Plugins > Add New" screen in your WordPress dashboard, or by using the following steps:

1. Download the plugin via WordPress.org.
2. Upload the ZIP file through the "Plugins > Add New > Upload" screen in your WordPress dashboard.
3. Activate the plugin through the 'Plugins' menu in WordPress
4. Visit the settings screen and configure, as desired.

== Frequently Asked Questions ==

= Does the plugin disable CF7 Ajax? =

No, it doesn't. The plugin does not disable any of Contact Form 7 normal behavior, unlike all other plugins that do the same.

= Does this plugin uses "on_sent_ok" additional setting? =

No. One of the reasons we developed this plugin, is because on_send_ok is now deprecated, and is going to be abolished by the end of 2017. This plugin is the only redirect plugin for CF7 that has been updated to use [DOM events](https://contactform7.com/dom-events/) to perform redirect, as CF7 developer Takayuki Miyoshi recommends.

= How to use files shortcodes =
[{field_name}-filename] - will replace the shortcode with the file name
[{field_name}-base_64_file] - will replace the shortcode with a base64 representation of a file
[{field_name}-path] - will replace the shortcode with the file path on the server

== Screenshots ==

1. Dashboard
2. Add Actions
3. Actions tab
4. Redirection Action
5. Save Entries Action

== Changelog ==

#####   Version 3.2.6 (2025-09-11)

- Updated dependencies




#####   Version 3.2.5 (2025-08-07)

- Enhanced security




#####   Version 3.2.4 (2025-07-25)

- Fixed visibility for hidden elements
- Updated dependencies




#####   Version 3.2.3 (2025-06-11)

- Added auto-open action dropdown
- Increased action dropdown height




#####   Version 3.2.2 (2025-05-23)

- Updated dependencies




#####   Version 3.2.1 (2025-04-28)

- [Feat] Add wpcf7r_get_actions_categories hook for developers to extend the available actions in UI.
- [Fix] Errors when using Multi Step by Ninja.
- [Fix] Small PHP warnings.
- [Fix] Salesforce connection error.




####   Version 3.2.0 (2025-04-23)

- [Feat] Introduced a new dashboard
- [Feat] Improved Add to action interface to showcase available actions better
- [Feat] Improved layout for Actions list, with a toggle to update the status and new Edit/Delete/Duplicate buttons
- [Feat] Open the action options by default when a new action is added
- [Feat] Rename Leads to Entries and improved the layout of the Entries List
- [Feat] Improved Conditional Logic layout
- [Feat] Added a Learn about Pro button in the plugins listing page
- [Feat] Moved Fire JavaScript action to a separate premium add-on for new users
- [Feat] Rename API Request action to Webhook to better showcase its options
- [Fix] Removed dashboard notice for rating
- [Fix] Make Contact Form 7 required for plugin activation
- [Fix] Enhance Twilio API key validation and improve field labels in settings
- [Fix] HubSpot connection validation and AJAX handling
- [Fix] Add utility functions to save the files in a custom upload folder, and added security similar to Contact Form 7.
- [Fix] Delete the uploaded files when an entry is deleted.
- [Fix] Added a preview feature for uploaded images.
- [Fix] Fix various broken links and UI inconsistencies




#####   Version 3.1.10 (2025-01-10)

- Fixed compatibility issue with WordPress 6.7
- Fixed deprecated error with latest CF7 plugin




#####   Version 3.1.9 (2024-11-11)

- Fixed issue with multiple add actions
- Fixed integration issue with Mailchimp causing PHP error
- Updated dependencies




#####   Version 3.1.8 (2024-08-09)

- Changed wording on the upgrade button
- Implemented a user satisfaction survey




#####   Version 3.1.7 (2024-06-20)

- Fix compatibility with Freemius




#####   Version 3.1.6 (2024-06-20)

- Update internal dependencies
- Improve compatibility for Add-ons




##### Version 3.1.5 (2024-06-04)

- Internal updates

##### Version 3.1.4 (2024-06-04)

- Ownership change to Themeisle

= 3.1.3 =
* Fix honeypot breaks validation messages

= 3.1.2 =
* Conditional logic support fixed

= 3.1.1 =
* Fixes to comply with wordpress repository guidelines (changed functions prefix)
* Additional Fixes for PHP Ver 8.2 deprecation notices.
* Fix conditional logic error

= 3.1.0 =
* Upgrade freemius version
* Fixed action duplication with form duplication

= 3.0.1 =
* Fix access to leads manager

= 3.0.0 =
* Fix PHP Ver 8.2 deprecation notices.
* Removed unused functions and files
* Tested for wordpress 6.3

= 2.9.2 =
* Fix javascript error on admin panel prevents validating salesforce extension connection.

= 2.9.0 =
* Added new actions info (monday integration/eliminate duplicates)
* Added eliminate duplicates addon
* Added "cc" "bcc" "additional headers" to send mail action
* Disabled default CF7 mail when send mail action is Activate
* Freemius SDK update to 2.5.10
* Removed unused JavaScript
* Fix debug output

= 2.8.0 =
* Fixed repeater wrong numbering
* Fixed conditional logic support when a tag was removed
* Patched security issue involving "registration add-on"
* Updated Freemius SDK to 2.5.3

= 2.7.0 =
* Fixed incorrect checkbox/selectbox values when exporting leads to csv
* Removed old plugin updates check
* Fixed several minor php notice error messages on PHP8

= 2.6.0 =
* Added new free action - erase data request
* Fixed PHP8 notice messages
* Completely removed accessiBe addon
* Added compatability for slack message extension

= 2.5.0 =
* Fixed PHP8 notice messages
* Update freemius SDK (security patch)

= 2.4.0 =
* Fixed PHP8 notice messages
* Added Support for base64 files on api calls
* Updated front end script name because of avast false positive notice
* Fix close popup
* Bumped plugin version to 2.4.0

= 2.3.7 =
* Added Tel field template file
* Added support for twilio sms extension
* Added freemius support for plugin extensions

= 2.3.6 =
* Fix missing definition for stripe integration extension
* Fix notice message on WP-CLI (HTTP_HOST);
* Security updates
* Ui fixes on extensions list

= 2.3.5 =
* Fix preview of checkbox fields on leads list
* Fix nonce issues on extensions page
* Fix send file to api [{fieldname}-filename] [{fieldname}-base_64_file] [{fieldname}-path]

= 2.3.4 =
* Security updates
* Fixed jQuery error when adding an action with wysiwyg Editor
* Fixed duplicate post functionality
* Added support for pdf create action

= 2.3.3 =
* Fixed undefined $_SERVER['HTTP_HOST'] on CLI calls

= 2.3.2 =
* Added columns on actions list (debug mode)
* Added compatibility for CF7 Redirection Pro migrations
* Fixed extensions download process.
* Moved Mailchimp dependencies to Mailchimp action

= 2.3.1 =
* Added index.php to directories to disable directory browsing.
* Fixed typo in popup action class name for receiving updates.
* Fixed extensions update process.

= 2.2.9 =
* Added Export leads to csv option.
* Added Duplicate action button.
* Added Preview data on leads table (Defined by marking which fields to display on the action settings).
* Added urlencode passed parameters option on redirect action.
* Fixed duplicate actions on contact form duplication.


= 2.2.8 =
* Added html support to Send Email action.
* Added file attachments support to Send Email action.
* Added reset settings button to debug tools.
* Fixed a bug: radio buttons and checkboxes are now passed correctly as url parameters.
* Fixed a bug: "Changes you made may not be saved" pop-up no longer appears when no changes have been made.

= 2.2.7 =
* Fixed extensions update check interval.

= 2.2.6 =
* Fixed support for non-ajax redirection action.
* Minor styling changes.

= 2.2.5 =
* Fixed compatibility issues with "CF7 - Conditional Fields" Plugin.

= 2.2.4 =
* Fixed a bug with jQuery.noConflict()

= 2.2.3 =
* Fixed compatability issue with "CF7 - Conditional Fields" Plugin.

= 2.2.2 =
* Fixed a bug with jQuery.noConflict()
* jQuery migrate compatibility changes
* Added debug options

= 2.2.1 =
* Fixed a bug in extension class
* Fixed a bug - accessiBe turned off by default

= 2.2.0 =
* New feature: Saving form leads in database.
* New actions system.
* Easy installation of plugin extensions.
* Complete code refactoring.

= 1.3.7 =
* Show pages hierarchy in page select dropdown.

= 1.3.6 =
* Fixed a bug: Redirection for legacy browsers (non-ajax) not working when using external url.

= 1.3.4 =
* Fixed a bug: "Changes you made may not be saved" pop-up no longer appears when no changes have been made.
* Fixed a bug: When passing all fields as parameters, "+" sign is now replaced with "%20".
* Minor code styling changes to fully meet WordPress standards.

= 1.3.3 =
* Fixed a bug: URL query parameters are now properly decoded.

= 1.3.2 =
* New feature: delay redirection in milliseconds.

= 1.3.1 =
* Fixed a bug in legacy browsers: the Pro message keep showing.

= 1.3.0 =
* Minor dev improvements.

= 1.2.9 =
* Fixed a bug: when passing specific fields as URL query parameters, not all the fields were passed.

= 1.2.8 =
* New feature: Pass specific fields from the form as URL query parameters.
* Minor dev improvements.

= 1.2.7 =
* Script field now accepts special characters, such as < and >.

= 1.2.6 =
* Added support for browsers that don't support AJAX.
* Minor CSS changes.

= 1.2.5 =
* Added error message if CF7 version is earlier than 4.8.

= 1.2.4 =
* Fixed a bug regarding sanitizing URL, causing & to change to #038;
* Unnecessary variables removed.

= 1.2.2 =
* New feature: Pass all fields from the form as URL query parameters.
* Minor CSS changes.
* Dev improvements.

= 1.2 =
* New feature: add script after the form has been sent successfully.

= 1.0.2 =
* Added full support for form duplication.
* New feature: open page in a new tab.
* Added plugin class CF7_Redirect.

= 1.0.0 =
* Initial release.
