This documentation is preliminary and is subject to change.Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
|Data validation failed as a result of an XML Schema-defined constraint.|
|Data validation failed as a result of constraints defined in the form definition (.xsf) file or as a result of form code calling the method of the XmlValidatingEventArgs class.|
|Data validation failed as a result of a custom error defined using the Add method of the FormErrorsCollection class.|
The three types of data validation errors that can occur in an InfoPath form can be determined using the FormErrorType property of the FormError class, which returns a FormErrorType enumeration value.