< Previous | Contents | Next >

Usage

self:AddInput(string labelname, string scriptname, table attributes)

labelname (string, required)

This string value specifies the label displayed next to the input control. The labelname allows spaces, and so typically is used to present a ‘friendly’ name for an input control compared to the scripting name described in the second argument.

scriptname (string, required)

This string value specifies the name of the input control for purposes of saving the value and for scripting it. The scriptname must not have any spaces, and contain only pure alphanumeric characters.