posted 12 years ago
Hi,
I have a scenario where in I need to pass the value in the args0 of validation.xml file dynamically through code.
i.e.
I have a field1 and field 2.
Now if my validation for field2 fails, then I want the error message to be displayed as "<value of field1> required." depending upon the current value of field 1.
Possible values of field1: ABC
XYZ
so, the error message should be ABC required or XYZ required depending upon the value given at the time.
Any ideas?