addField
The addField method adds a sub field with the specified name and value.
Syntax
addField( fieldname, fieldvalue )
Arguments
| Argument | Description |
|---|---|
fieldname
|
(string) The name of the field. |
fieldvalue
|
(string) The value of the field. |
Returns
(LuaField) A LuaField object representing the new field.