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

NameTypeRequiredDescription
namestringYesName of the field
fieldsetstringYesID of the fieldset to append to
tabstringYesID of the tab in which the fieldset lives