ui.Form.setElementStyle
Change the style of form elements.
Syntax
setElementStyle(
name STRING,
style STRING )
- name defines the name of the node, see Identifying elements in ui.Form methods.
- style is the style name to be set.
Usage
Change the style of a form element with the setElementStyle()
method.
Pass the identifier of the form element. The identifier is the element name as
defined in the form definition.
Note: All elements with this name will be affected. If you want to
distinguish all form elements, use unique names in the form definition file.