Author Login
Post Reply
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
--
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)