I'm auto focusing the first input field of my Sign up
and Log in
form before the page is displayed, but I'm not sure what to do as far as auto focusing erroneous fields after validation.
I have a couple of options in mind when it comes to multiple erroneous fields at once:
Auto focus the first erroneous field input and;
select the entire field content if any or;
put the text cursor at the end.
No auto focus.
And for scenarios with only one erroneous field:
Auto focus the erroneous field and;
select the entire field content if any or;
put the text cursor at the end.
No auto focus.
Just to be clear, I'm not forcing users to start with the auto focussed field.