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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validator and two fields" Watch "Validator and two fields" New topic
Author

Validator and two fields

Eric Sexton
Ranch Hand

Joined: Sep 12, 2003
Posts: 133
I have a form that has two dates on it. I want to write custom validate method that verifies that the first date is not bigger than the second date. Is there a way to get 2 fields from the form into a single validate method?
Andre Mermegas
Ranch Hand

Joined: Jun 20, 2001
Posts: 158
you can probably start by checking out this
http://www.raibledesigns.com/page/rd/20030226#struts_validator_validating_two_fields


--=( Andre Mermegas )=--
Eric Sexton
Ranch Hand

Joined: Sep 12, 2003
Posts: 133
Sweet action. Thanks Andre!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validator and two fields