You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Daggumalli, Sivaji" <SD...@amfam.com> on 2005/11/16 22:01:19 UTC
[Validator] how to include user entered value in error message
Hi,
Can anyone me workaround to this, I want to include user entered input
value in error message when validation fail?
EX: if user input for dateOfBirth is: 01/00/1900 and then my message
should read like:
01/00/1900 is not valid date.
------------------------- Is it possible ?
<field property="dateOfBirth" depends="date">
<arg key="${firstname}" />
</field>
Regards and Thanks in advance,
Siva.