validation condition

R

rodchar

hey all,
i have a section i would like to hide or unhide based on a checkbox. is
there a way to say that if the section is visible then all fields in that
section are required but if section is invisible then don't worry about
validating those fields?

thanks,
rodchar
 
S

Shailaja

Hi Rodchar,
One question that I have for you is - Are you using code for submitting
the form? If you are using code for submitting the form then you can use
'XDocument.Errors.DeleteAll();' line in submit code which will delete all the
validation errors while submitting the form.

Thanks
Shailaja
 
Top