I have 10 fields in a form and there are 2 fields that are being displayed sometimes.
I have written the
struts validations for 10 fields. In the case of 2 fields not being displayed on the page, when I click on submit button, it throws browser error dialog.
a) Is there anyway to stop struts validating those two fields, when they are not present.
b) Can we pass any indicator to struts to stop doing the validation to that field.
Pls help.
Thx in advance.