This might help:

http://home.earthlink.net/~dwinterfeldt/

-----Original Message-----
From: Swish [mailto:[EMAIL PROTECTED]]
Sent: Friday, 31 January 2003 10:28 AM
To: [EMAIL PROTECTED]
Subject: Validator, HELP



Hi All, 

Got a question about configuring the validator.  I have a date field that I
would like validated only if it has been entered.  I have the following
entry in the validation.xml

   <field property="startDate" depends="date">
    <arg0 key="field.startDate"/>
    <var>
     <var-name>datePatternStrict</var-name>
     <var-value>MM/dd/yyyy</var-value>
    </var>
   </field>


As it stands, if the user does not enter a date, i get back an error saying
that the date "is not a date."  

Also, where can I find some docs on the Validator other then the javadoc,
cause the javadocs, ahm, well just don't seem to answer the questions I
have?

Thanks!!!



---------------------------------
Post your free ad now! Yahoo! Canada Personals

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

Reply via email to