• Resolved bahnsawy

    (@bahnsawy)


    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)
  • Thread Starter bahnsawy

    (@bahnsawy)

    Any update ?!

    Plugin Support Mahfuzul Alam

    (@mahfuz87)

    Hi @bahnsawy

    Thank you for reaching out. The process is wrong, you cannot achieve this by using these codes.

    Could you please provide a screenshot of the form you are trying to manipulate? I will try to help if there is any way to override that.

    Kind Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Request a quote form issue’ is closed to new replies.