Valid when won't compare dates - you need to write your own custom validator to do this.
Niall On 3/21/06, starki78 <[EMAIL PROTECTED]> wrote: > Can someone give me a hint how to improve > this example: > I want to use this in that way assuring that > one date is later than another: > > <field property="DateTo" depends="validwhen"> > <arg0 key="date.to"/> > <var> > <var-name>valid</var-name> > <var-value>(*this* >DateFrom)</var-value> > </var> > </field> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]