A simple add-on for Forms that adds a redirect option after form sent successfully.
The Additional Setting “on_sent_ok” is used to assign a JavaScript code that will be executed when a form submission completes and mail has been sent successfully. It is often used for the purpose of tracking form submissions with web analytics services or redirecting to another page after a form submission.
The “on_sent_ok” and its sibling setting “on_submit” are deprecated and scheduled to be abolished by the end of 2017. It’s not that using those settings is unsafe, but it’s possible that enabling them will increase risk in case there are vulnerabilities in this plugin or in other components of your site. It’s time to replace them with a safer alternative.
Update: on_sent_ok and on_submit have been officially removed from Contact Form 7 5.0.
A straightforward add-on plugin for Contactus Form adds the option to redirect to any page you choose after mail sent successfully, with DOM Events and without AJAX being disabled.
Simply go to your form settings, choose the “Redirect Settings” tab and set the page you want to be redirected to.
Note: some features are availible only in the Pro version. Which means you need Redirection for Contact Forms
Pro to unlock those features.
Installing Redirection for Contact Forms can be done either by searching for “Form success redirection” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:
No, it doesn’t. The plugin does not disables any of Forms normal behavior, unlike all other plugins that do the same.
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 Contact Form 7 that has been updated to use DOM events to perform redirect, as developer Takayuki Miyoshi recommends.