elclanrs / jq-idealforms-old

The ultimate framework for building and validating responsive HTML5 forms.
665 stars 95 forks source link

Focus on first field with error on page load #103

Closed ArthurFigo closed 11 years ago

ArthurFigo commented 11 years ago

First I have to congratz you for this awesome work. Such detailed and absolute work.

Well. I dont even remember when I started to use idealforms, coz I have done many changes on it for some weeks and cant remember if I did something wrong.

Every time I reload the page or simply load it for the first time, the page scrolls down to the point of the first field (that is required and of course starts with an error saying that that field is required), dont matter which level of the page it is.

There is any way to avoid this? Because the user probably will be lost with the page going to the middle since the first load.

Thanks.