I am using DynaActionForm with the Validator framework.
While doing client side validation, I am facing one problem as-
On the input
jsp there are some fields for which i have written
one DynaActionForm. In the example I am working I want to validate
two fields depending upon each other.
e.g.
There are 2 fields 'Fax Number' and 'Email Address'. I want to
validate for either or condition. That is if 'Fax Number' is given
I dont need to do 'required' validation on the 'Email Address' and
vice versa.
But when i try to submit the form the js alert comes
'Email Address is Required' though i have entered value for 'Fax Number'.
Any solution will be appreciated.