xforms-client-option

Release 2.0 - ...

Used to pass client options to the jQuery enrichment layer of the XForms HTML Render Devices (XHTML10Strict and HTML5).

incrementalDelay (integer, in milliseconds)

Sets the delay for passing updates done in incremental controls to the server.

Example

XML CopyCode image Copy Code
<?xforms-client-option name="incrementalDelay" value="2000"?>

Sets the interval between callbacks for inputs using incremental="true" to 1000 milliseconds (1 second).

unloadWarning (string)

Sets the message to show when a user navigates away from a form.

Example

XML CopyCode image Copy Code
<?xforms-client-option name="unloadWarning" value="Are you sure you wish to stop filling out this form"?>

Example (display no warning)

In this example, the warning is disabled, so navigating away from a form will not need to be confirmed.

XML CopyCode image Copy Code
<?xforms-client-option name="unloadWarning" value=""?>