Hi All,

I am using the Date validation function from Validator package.
I tried to chane the Date Pattern to dd-MMM-yyyy with datePatternStrict.
It does the validation properly if I use server side validation.
But if I use JavaScript version of the same, then even for correct values of date it 
pops up error 
message and does not proceed further.
All other validations work fine.
Date validation works both on server and client side with the format MM-dd-yyyy.

Following is an extract from my validation.xml:

        <field    property="date"
                   depends="required,date">
                     <arg0 key="typeForm.date.displayname"/>
                     <var>
                       <var-name>datePatternStrict</var-name>
                       <var-value>dd-MMM-yyyy</var-value>
                     </var>
         </field>


Am I doing some very basic thing wrong?


Thanks and Regards,
Amit


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

Reply via email to