Hi,

    i have a date validation allows year if it starts with number. If i try
to put the year as "dff2: or  no number like "ddff" it throws validation
error. But when I enter "2dff" it doesnt throw any validation error.

Here is the validation block

<field property="datefield" depends="date">
                        <arg0 key="datefieldText"/>
                        <var>
                        <var-name>datePattern</var-name>
                        <var-value>MM/dd/yyyy</var-value>
                </var>
                </field>

Any help is much appreciated.

Thanks
Kishore
-- 
View this message in context: 
http://www.nabble.com/Date-validation-allows-09-22-2dff-tp19613725p19613725.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to