The simplest way is using on_sent_ok JavaScript action hook. By using this hook, you can specify a JavaScript code that you wish to run after the form is successfully submitted. You will find the Additional Settings field at the bottom of the contact form management page. Simply insert the following line into it:

on_sent_ok: “location = ‘http://example.com/’;”

Contact_Form_7_Thank_You_Success_Messages_-_2014-05-07_12.22.50

 

Contact_Form_7_Thank_You_Success_Messages_-_2014-05-07_12.20.25

 

 

 

 

 

 

 

 

 

Read More