|
TWiki Forms - Foundation of TWiki Applications |
|
combobox |
Text field & select combination box, rendered as a text input field and a button to open up a selector box |
Text box width in number of characters |
Comma-space-separated list of options of the select box - can be a dynamic SEARCH |
select |
Select box, rendered as a picklist or a multi-row selector box depending on the size value |
• 1 : Show a picklist • Number > 1: Multi-row selector box of specified size • Range e.g. 3..10 : Multi-row selector box with variable size - the box will never be smaller than 3 items, never larger than 10, and will be 5 high if there are only 5 options |
Comma-space-separated list of options of the select box - can be a dynamic SEARCH |
select+multi |
Like select , turning multi-select on, to allow Shift+Click and Ctrl+Click to select (or deselect) multiple items |
|
|
< < |
select+values |
Like select , allowing definition of values that are different to the displayed text. For example: | Field 9 | select+values | 3 | One, Two=2, Three=III | Various values formats | shows but the values of options Two and Three are 2 and III , respectively. |
|
> > |
select+values |
Like select , allowing definition of values that are different to the displayed text. An option is defined as value: title , where the value is the value passed on form submit, and title is the option text shown to the user. For example: | Field 9 | select+values | 3 | One, 2: Two, III: Three | Various values formats | shows but the values of options Two and Three are 2 and III , respectively. A legacy title=value syntax is supported as well, for example: One, Two=2, Three=III . |
|
|
select+multi+values |
Combination of select+multi and select+values |
color |
Single-line text box and a color picker to pick a color. The color can also be typed into the text box, such as #123456 . See details. |
Text box width in number of characters |
Initial (default) color |
date |
Text input field and a button next to it to pick a date from a pop-up calendar. The date can also be typed into the text box. See details. |
Text box width in number of characters |
Initial (default) date |
|