Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Validator and two fields

 
Eric Sexton
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can probably start by checking out this
http://www.raibledesigns.com/page/rd/20030226#struts_validator_validating_two_fields
 
Eric Sexton
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sweet action. Thanks Andre!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic