[Validator] how to include user entered value in error message

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Validator] how to include user entered value in error message

Daggumalli, Sivaji
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.