Request a quote form issue
-
Hello Directorist Team,
I hope you’re doing well.
I’m trying to make the request a quote form to redirect to a thanks page after a successful submission but It didn’t redirect to the thanks page I don’t know why, here’s the code I did use to make the form redirect
if ( $data[‘error’] === 0 ) { $data[‘message’] = __( ‘Your message sent successfully.’, ‘directorist’ ); // Redirect the user to a success page or show a success message wp_redirect('https://localhost/thankspage'); // exit; }
Would you please help
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Request a quote form issue’ is closed to new replies.