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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top