addField()
Overview
public any function addField(
required string name
, required string fieldset
, required string tab
)
Adds a field to the given fieldset (and tab). Any additional arguments will be appended to the field definition. If the given tab and fieldset do not exist, they will be created.
Arguments
Name | Type | Required | Description |
---|---|---|---|
name | string | Yes | Name of the field |
fieldset | string | Yes | ID of the fieldset to append to |
tab | string | Yes | ID of the tab in which the fieldset lives |