Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Jump to form field that failed

edited October 2014 in Design

Now that the user add/edit forms are longer than one screen, I've been playing around with jumping to the failed fields in a failed submission so that the user has some feedback about why nothing seems to happen when they click submit. Sometimes the fields that failed are out of view. I tried adding, e.g., id="email" to the fields and then doing $('#' + failed[0]).focus (); after the failed callback that displays the error notices, but there seems to be a problem in that the admin overlay hides the topmost failed field.

Hope this is clear!

Sign In or Register to comment.