If you want to redirect the page after the web form submission. Then you can do it easily by adding the JavaScript code in header.php
Or footer.php
.
Also if you want a different page for a specific contact form (ID=123) after submission, then you can add the following code.