The readonly() function

Release 2.0 - ...

The readonly() function is equivalent to the exforms readonly() function described in Model Item Properties Extension.

  CopyCode image Copy Code
boolean exf:readonly(node-set?)

This function returns the readonly state of the node from the specified node-set which is first in document order. If the node-set is empty then the function returns false. If the argument is omitted, it defaults to a node-set with the context node as its only member.

Namespaces

This function is available within the exforms namespace (http://www.exforms.org/exf/1-0) as well as the Smartsite XForms namespace (http://smartsite.nl/namespaces/xforms/1.0).