Answer the question
In order to leave comments, you need to log in
How to add an anchor to a redirect when registration fails?
On one of the pages, the registration form is located under the canvas of the text, and after submitting the form with an error (if something is wrong, it redirects back), the page is not on the form, but at the beginning of the page. Is it possible to add an anchor to the redirect somehow (given the submit page)? I understand that you can do Ajax, but I wonder where and how you can implement such a redirect
Answer the question
In order to leave comments, you need to log in
It is possible to write a parameter in GET or session, and after redirection, checking it, scroll the page.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question