ui.Form.setElementText
Change the text of form elements.
Syntax
setElementText(
name STRING,
text STRING )
- name defines the name of the node.
- text is the text to be set.
Usage
Change the text of a form element with the setElementText()
method, for example
to modify the text of a static label or group box during program execution. You must pass the
identifier of the form element. The identifier is the element name as defined in the form definition
file (per) or the name attribute for the element as defined in the form
file.
All elements with this name will be affected. If you want to distinguish all form elements, use unique names in the form definition file.