WordPress plugin
Redirection for Contact Forms Pro: After a form submits
Redirection for Contact Forms Pro lets you pick what happens after Contact Form 7 submits a form successfully and sends its mail. It uses DOM events to run the selected action, so the form can keep its normal AJAX behavior.
Redirection for Contact Forms Pro lets you pick what happens after Contact Form 7 submits a form successfully and sends its mail. It uses DOM events to run the selected action, so the form can keep its normal AJAX behavior.
Choose a follow-up action
- Redirect users to a selected URL.
- Open the destination in a new browser tab.
- Run JavaScript after submission, including scripts used for conversion management.
- Pass selected form fields to the destination as URL query parameters.
The former on_sent_ok and on_submit additional settings were removed from Contact Form 7 in version 5.0. This add-on uses DOM events for post-submission actions instead.
Set up a form redirect
- Install and activate the add-on alongside Contact Form 7.
- Open the options for the form you want to configure and choose the Redirect Settings tab.
- Choose the destination to use after mail is sent successfully. Set whether it opens in a new tab, add a JavaScript action, and choose any fields to pass as URL query parameters.
- Save the form settings and test a submission.
These options can guide users from contact, enquiry, or registration forms to a thank-you page or another relevant destination. JavaScript actions can support conversion management, and query parameters make selected submitted values available in the destination URL.