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 10 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.