Hello,
If the validation fails for (eg) insert_answer
in Handle.php, I would like the return url to have a fragment appended to it (eg: [url]#dwqa-answer-form
so that the page automatically scrolls down to the answer.
Is this possible? Or does it need to be done with jQuery? If so, where can I add this?
Thanks.
1 Answers
yes it’s impossible, but you need to change in the redirect after submit answer and add some jquery in file :
templates/assets/js/dwqa-single-question.js
Please login or Register to submit your answer