ui.Form.setElementText
Change the text of form elements.
Syntax
setElementText(
name STRING,
text STRING )
- name defines the name of the node, see Identifying elements in ui.Form methods.
- 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.
Pass the identifier of the form element. The identifier is the element name as defined in the form definition. All elements with this name will be affected. If you want to distinguish form elements, use unique names in the form definition file.