| AddTextField |
| |
Create a text entry field |
| |
| Library |
 |
module::system/webui/forms.whlib |
| |
| Syntax |
 |
PUBLIC MACRO AddTextField (STRING groupname,STRING name,STRING label,STRING data,INTEGER maxlength) |
| |
| Description |
 |
A text field is a component in a field group (use CreateFieldGroup to create one first) |
| |
| Parameters |
 |
| groupname |
 |
Group to add this field to |
 |
| name |
 |
Name of the field to add (this name will also be used to submit the contents of the inputfield) |
 |
| label |
 |
Label to display |
 |
| data |
 |
Data to submit (if disabled) or to modify |
 |
| maxlength |
 |
Maximum length of the text field |
 |
|
| |