Question
I cannot use "Select Name" as the selection text of a form select list.
I have the following select list defined as "TesterNameList1":
| *Name* | *Type* | *Tooltip message* |
| Select Name | option | Empty default slot |
| Select name | option | Next slot |
| select name | option | Slot after that |
| Not Select Name | option | Slot after that |
I would not normally have multiple items with similar text, this is a demo for this question only.
The form definition is so:
| *Name* | *Type* | *Size* | *Values* | *Tooltip message* |
| TesterNameList1 | select | 1 | | Who's doing the testing? |
Only "Select name" and "select name" show up in the edit-time select list. Anything I've tried with "Select Name" goes missing. This is simple to work around of course, but who knows what other monsters lie here?
- TWiki version: 01 Dec 2001
- Perl version: ActivePerl 5.6.1
- Web server & version: IIS 5
- Server OS: Win 2000
- Web browser & version: IE 5.50
- Client OS: Win NT 4 WS
--
GordonSmith - 13 Dec 2002
Answer
As far as I can see, your example isn't following the required syntax of
| Name | Type | Size | Values | Tooltip | . Each row after this first row should in the
Values have a commaseparated list of choices. Check out how
WebForm is written and compare it with your example. Or see
Codev.WebForm for a more advanced form (it has several classification aspects = several rows in the form table).
--
TorbenGB - 06 Feb 2003