W3C home > Mailing lists > Public > www-forms@w3.org > February 2003

Semantics of select1

From: Subramanian Peruvemba \(PV\) <subramanian.peruvemba@oracle.com>
Date: Thu, 20 Feb 2003 19:28:13 -0800
To: <www-forms@w3.org>
Message-ID: <000401c2d959$44606540$a0af1990@us.oracle.com>

Is the semantics of select1
   "Select 0 or 1"
   "Select exactly 1"

The spec says

"For closed selections: If the initial instance value matches the
storage value of one of the given items, that item is selected. If
is no match, the first item is initially selected."

Automatically selecting the first item seems a little bit odd here.
suggests to me that I can make a instance item required with the UI
control (and not necessarily using the model item properties).

I think this was a mistake in HTML forms, that has been carried
The UI control should never force a selection and it is perfectly
to have "None of the Items" selected. Unless  it is required, but even
then the processor or the UI control should not make the selection for
the author or for the user (when one is not explicitly stated or

Received on Thursday, 20 February 2003 22:28:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:07 UTC