Staying on the same page

68 viewsCore
0

Hi there,
We love anspress and want to use it for our site. We have a special page for specific users where they can ask questions. But we dont want them to leave the page. As soon as you click on “ask question” a new page is opening, what can we do to let them stay on the same page/url?
Thanks in advance!

Answered question
0

Hi Dan,
Thanks!
But after submitting, they are once again redirected to a new page?

Posted new comment

Hey Laura,

Yes, that’s correct. After submitting a question, the default behavior is to view the newly published question, but they would be submitting it directly from the questions page.

Cheers,
Dan

0

Hey Laura,
Glad you love the plugin! If you have a specific page where you want users to view and add questions, you can take advantage of the “Ask Form” widget. You can place this form in any widget area and it will show the form for submitting a question.
It will redirect the user to their question once submitted, but they’ll be submitting it from the Questions page you have set up rather than a form opening in a new page.
Hope that helps!
Cheers,
Dan

Answered question