- Properties
- Enter a brief description and the maximum length of the Field (if applicable).
Check off whether the Field is required and if it's repeatable.
- Display Attributes
- The attributes listed will vary depending on the type of Field, but will
include the following:
- Allow multiple
- This applies only to select Fields, and indicates whether the
user can select multiple items from the list, which is done for example
by holding down the Shift key while selecting different items. (select)
- Caption
- Same as
Label
but for date Fields. (date)
- Columns
- Number of columns in a textarea. (textarea)
- Default Value
- The default value for this Field. (textbox, radio,
pulldown, select, textarea)
- Group Label
- Same as
Label
but for radio Fields. (radio)
- Label
- The label which the Element Admin will see in the list of Fields.
(textbox, radio, checkbox, pulldown, select, textarea)
- Maximum Size
- If this field is set to zero then there is no restriction on the maximum
number of characters entered in the textarea. If set to a value then a
character counter will be displayed above the textarea and the maximum limit
will be enforced. (textbox, textarea)
- Options, Label
- A list of rows consisting of values and labels.
Note that
Options, Label
indicates the format of each row.
Options
is the value
attribute of an <option>
element within a <select>
list, for example,
with Label
being what's displayed to the user. In order to include a
comma within either the Options
or Label
string, precede the
comma by a backslash (\
). (radio, pulldown, select)
- Code
- A
Code Select
field allows adding arbitrary Perl code to generate
the items in a <select>
list. The last statement of the
code must return an array reference whose elements are alternately the values
and labels in the list (the array must therefore have an even number of
items). For example, if you returned [ 1 => 'One', 2 => 'Two' ]
,
the user would see a list with items One and Two, whose values (in a template)
would be respectively 1 and 2 (works just like a Select
field). (codeselect)
- Rows
- Number of rows in a textarea. (textarea)
- Size
- The size of this Field. (textbox, select)
If you want to delete this Field from its Element,
check the 'Delete this Profile' checkbox.
When finished click Save, or Cancel to ignore your changes.