aspose file tools*
The moose likes Struts and the fly likes Validator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validator " Watch "Validator " New topic
Author

Validator

Janice Guevara
Greenhorn

Joined: Aug 07, 2006
Posts: 14
Hi,

How can I set the focus on a form field after it has been validated??? (assuming there is an error).I'm working with struts.

Any ideas?

Thanks...
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The following code would work. "onlode" below should be "onload", but I had to substitute to get around the JavaRanch Filter.

[ October 19, 2006: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validator