ui.Form.setFieldStyle

Change the style of a form field.

Syntax

setFieldStyle(
   name STRING,
   style STRING )
  1. name defines the name of the form field, see Identifying elements in ui.Form methods.
  2. style is the style name to be set.

Usage

Change the style of a form field with the setFieldStyle() method.

Pass the identifier of the form field, as defined in the form definition. The form field is identified by column name, with an optional prefix (table.column or column).