Hi,
I have configured my form which contains 70 elements for validation using
validation.xml file, and in many cases I needed to reuse the same exact
definitions of the <field>'s available within my <form> for validation of
subsets of that form, e.g., I need to enable the user to fill in fields x, y,
and z and submit the form to retrieve some information, so only fields x, y,
and z has to be validated and not the whole 70 fields in the form, and in the
same time, I need to utilize the rules I defined in validation.xml in the
"depends" clause.
I have seen some utilizing the ValidatorResources, and Resources classes to do
this, but I couldn't get an efficient working example. Does anybody have a code
snippet to show me how to achieve this.
Your help is greatly appreciated.
---------------------------------
What are the most popular cars? Find out at Yahoo! Autos