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();
 
Top