The <xsf:errorCondition> Element

When you add validation rules using the InfoPath 2003 client in design mode, then a corresponding number of xsf:errorCondition elements are added to the manifest file. The xsf:errorCondition element defines a potential error condition on a specific node in the DOM tree.

The attributes of the xsf:errorCondition element are as follows:

  • expression— A required attribute that specifies the XPath expression that must be used to validate the value of the DOM node. Commonly, the XPath expression will make use of proprietary Microsoft extension functions.

  • expressionContext— An optional attribute that can be used to specify the XPath context relative to which the XPath expression in the expression attribute is evaluated. ...

Get Microsoft® Office InfoPath™ 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.