The Form class / ui.Form methods |
Show or hide a form field.
setFieldHidden( name STRING, hide INTEGER )
Change the visibility of a form field with the setFieldHidden() 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.
The value passed to hide/show the element can be 0, 1 or 2: