The solution is to write a custom validator if you want to do it server side 
using validator. In your custom validator, create 2 calendars, one each for 
start date and end date. Then use the method call "before" or "after" on these 
calendar.

Harsh. Man I got a lot of free time today.

-----Original Message-----
From: Carl Smith [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 25, 2006 2:20 PM
To: Struts Users Mailing List
Subject: Validation for second field must greater than the first field


I am not sure if this is workable, but my requirement was that 
   
  Two Fields, startDate and endDate, I need to validate the endDate is 
greater/older than the startDate. Is this something workable/configurable using 
struts validator?
   
  Thanks.

                
---------------------------------
Ring'em or ping'em. Make  PC-to-phone calls as low as 1ยข/min with Yahoo! 
Messenger with Voice.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to