ruleSetAction Element

Microsoft Office InfoPath

ruleSetAction Element

Defines the ruleSet action element to be invoked.

Type

xsd:complexType

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
ruleSet xsd:string Yes Contains the name of the ruleSet to be invoked. string

Definition

    <xsd:element name="ruleSetAction">
  <xsd:complexType>
    <xsd:attribute name="ruleSet" type="xsd:string" use="required"></xsd:attribute>
  </xsd:complexType>
</xsd:element>

  

Remarks

The ruleSetAction element is a child of the submit, domEventHandler, onLoad, and button elements.

Note  This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.

Example

The following is an example of the ruleSetAction element:

    <xsf:onLoad>
 <xsf:ruleSetAction ruleSet="RuleSet4"/>
</xsf:onLoad>