Deactivate default validation errors message box

C

Chris

I would like to deactivate the default "Validation Errors" message box.

"This form contains vlidation errors. Errors are marked with..."
"Do you still want to save it?"

Does anyone have an idea?

Thanks

Chris
 
G

Greg Collins [InfoPath MVP]

You can, in code, delete all the errors from the Errors collection.

XDocument.Errors.DeleteAll();
 

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