File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Focussing the validation errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic

Focussing the validation errors

Luke Zechariah
Ranch Hand

Joined: Sep 27, 2005
Posts: 128
My application is on Struts, I have <html:errors/> tag at the bottom of my screen. My question is on validating the page, the vertical scroll bar should scroll to the bottom so that the errors can be viewed instead of the user scrolling down. Please let me know how this functionality can achieved. Javascript is also ok.

Thanks for your help in advance.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.

[Asking smart questions] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: Focussing the validation errors
It's not a secret anymore!