Is it possible that when their is an error state upon submission (such as a required field missing) that the error message pops up on the screen? Currently if the submit button is down a page then the error message is not seen with no other clues given, leaving users just constantly clicking the submit button if they dont scroll back up.
Here's my slight tweak of Bob's code. This formulation works for all scenes and speeds up the scroll. :-)
However, I can't get it to work for login pages! :-( Anyone have an idea how this scroll to the top could work so that when a user makes a password error they are scrolled to the top to see the error?
Just used this - thank you!!