Hi everybody,
 
If I want to validate a date field, I will put something like this in the 
validation.xml file
 
<field property="myDate" depends="date">
    <arg0 key="Date field" resource="false"/>
    <var>
        <var-name>datePattern</var-name>
        <var-value>MM/dd/yyyy</var-value>
    </var>
</field>
 
So, if I want to enable 2 ways of entering a date (MM/dd/yyy and MM-dd-yyyy), 
how should I write in the validation.xml file?
 
Thanks for any help.


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

Reply via email to