Title: After Submit
Last modified: September 8, 2017

---

# After Submit

 *  [dkumar7](https://wordpress.org/support/users/dkumar7/)
 * (@dkumar7)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/after-submit/)
 * 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](https://wordpress.org/support/users/designwall/)
 * (@designwall)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/after-submit/#post-9505366)
 * 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 : **[http://mysite/discussion-forum/](http://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.

 * ![](https://s.w.org/plugins/geopattern-icon/dw-question-answer_fefdf9.svg)
 * [DW Question & Answer](https://wordpress.org/plugins/dw-question-answer/)
 * [Support Threads](https://wordpress.org/support/plugin/dw-question-answer/)
 * [Active Topics](https://wordpress.org/support/plugin/dw-question-answer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dw-question-answer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dw-question-answer/reviews/)

## Tags

 * [Submit Form](https://wordpress.org/support/topic-tag/submit-form/)

 * 1 reply
 * 2 participants
 * Last reply from: [DesignWall](https://wordpress.org/support/users/designwall/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/after-submit/#post-9505366)
 * Status: not resolved