<fx-bind>

Description

The fx-bind element attaches constraints and calculations to instance nodes.

Attributes

NameDescriptionDefault
alertused to specify a message to be displayed when constraints fail-
refXPath pointing to node(s) the bind is attaching to-
calculateXPath expression to be calculated. Result will become value of node(s) referenced by ref-
constraintboolean XPath expression to determine validity of node(s)true
readonlyboolean XPath expression to determine readonly/readwrite statefalse
relevantboolean XPath expression to determine relevant/non-relevant statetrue
requiredboolean XPath expression to determine required/optional statefalse
typedatatype - reserved for future versionsstring

Events

none

Examples