• Hi, when user submit a new question, I was expecting the current submit form will close and a message appear it has been submitted to moderator (msg not appearing in bold font), instead the message shows on the same page along with user input form, make it confusion for users whether it was submitted or not. chances are that user may hit the submit button multiple times.

    Is there a way to close the existing filled up form and show the message.

Viewing 1 replies (of 1 total)
  • Plugin Author DesignWall

    (@designwall)

    Hi,
    Firstly, you can make the Q&A auto-redirect to another page after submitting a question.

    – You can open the Handle.php file find the line 482.

    dwqa_add_notice( __( 'Your question is waiting moderator.', 'dwqa' ), 'success' );
    

    Then replace with the following code to redirect to home page:
    exit( wp_safe_redirect( home_url() ) );

    Notice: you can use similar to redirect user to any other page as you wish (in your case to the question listing page)

    Eg: like this is my url : https://mysite/discussion-forum/
    exit( wp_safe_redirect( home_url() .'/discussion-forum/' ) );

    – You can add the content to this page.
    Regards,
    DesignWall Team.

Viewing 1 replies (of 1 total)
  • The topic ‘After Submit’ is closed to new replies.