This week's book giveaway is in the Java 9 forum. We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line! See this thread for details.
I want to validate a field only if the value of the other field in the form is "XYZ" otherwise it should ignore the validations applied.
How can i acheive this using validator frame work. I know we can use valid,but not able to figure out how to apply it to my requirement.
posted 12 years ago
For example i have 2 fields field1 and field 2. Field1 should be validated only if the the value of field2 is "0216". If field2 is not "0216 then it should not validate field1. How can i acheive this using DynaValidatorForm.