Skip to content

$Form

The client-side form host. It is injected only while a browser form script runs; it is not available to server workflow scripts.

1
const $Form: $Form;

Examples

Refresh the form after changing data in script

1
2
$Xml.SetValue('Total', $Xml.Sum('Lines/Line/Amount'));
$Form.refresh();

Capabilities

Properties

  • $Form.element: jQuery instance of the form root element.
  • $Form.readonly: Indicates whether the form is read-only.
  • $Form.rebuild: Rebuilds the current form from its definition.
  • $Form.refresh: Refreshes the form so that bindings, rules, and visible controls are reevaluated.
  • $Form.sections: Defines the visible state of named form sections. Assign a supported form-section state such as Hidden.