Tags:
create new tag
view all tags

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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2003-02-08 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.