theyuv
asked 8 years ago

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
Allen
answered 8 years ago

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

Powered by DW Question & Answer Pro