ui.Form.setFieldStyle

Change the style of a form field.

Syntax

setFieldStyle(
   name STRING,
   style INTEGER )
  1. name defines the name of the form field.
  2. style is the style name to be set.

Usage

Change the style of a form field with the setFieldStyle() method. You must pass the identifier of the form field, as defined in the .per form definition. The form field is identified by column name, with an optional prefix (table.column or column). The form field can be a regular field or a column of a list container such as a TABLE.