I'm using the Contact Form 7 plugin on my Wordpress site and I found a method to redirect the form to another URL from the documentation on this page.
I tried adding the following code to the additional settings field on my form:
on_sent_ok: "location = 'http://example.com/';"
Well, I have a very simple solution:
Just add this to the first of the Messages fields in the Contact form, the one titled: "# Sender's message was sent successfully":
Your message was sent successfully.
<script>window.location.href = 'http://www.example.com';</script>