IS_NOT_EMPTY_IF_OTHER validator requires filling field A if field B has content. If field B is empty, field A may be empty, too. Example: requires confirm_password if password is present. Note: "other" argument may be a list of fields. If any of them is not empty, the field must be filled
0
r3bhatia 11 years ago
Hi...Just wanted to know isto how do we use this custom validator?
Can you please give a small example..
Thanks
Rahul