-1

I need help trying to get my webpage to go to a thank you page if all validation are true and entered correctly then it would go there. But I have no luck trying to get it to work. If there is any way that I can fix it.

1 Answers1

0

Assuming that this code from your codepen validates before submit.

if (isValid == true) {
    $("registration_form").submit();
}

You have to add:

if (isValid == true) {
    $("registration_form").submit();
    window.location.replace("http://example.com/ok.php");
}
Kip
  • 478
  • 4
  • 13