|
|
 |
 |
| AddPulldownField |
| |
Create a pulldown field |
| |
| Library |
 |
module::system/webui/forms.whlib |
| |
| Syntax |
 |
PUBLIC MACRO AddPulldownField (STRING groupname,STRING name,STRING label,STRING data,RECORD ARRAY items) |
| |
| Description |
 |
A pulldown 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 |
 |
| label |
 |
Label to display |
 |
| data |
 |
Item to select (must match one of the 'value's in items) |
 |
| items |
 |
Array of pulldown data to show |
| |
The record contains the following cells:
| title |
 |
Title to display |
 |
| value |
 |
Value for HTTP variable to pass |
 |
|
 |
|
| |
|
|
|
|