W3C home > Mailing lists > Public > www-forms@w3.org > October 2004

Multiple select menu with default values

From: Evan Lenz <evan@evanlenz.net>
Date: Wed, 13 Oct 2004 15:41:01 -0700
To: <www-forms@w3.org>
Message-ID: <000701c4b175$b7903db0$6b00000a@infopop>

Is there an XForms equivalent to the HTML below that would submit the same
GET request as an HTML browser would (with separate name/value pairs as in
f=opt1&f=opt3)?

<select name="f" multiple>
  <option value="opt1" selected>Option 1</option>
  <option value="opt2">Option 2</option>
  <option value="opt3" selected>Option 3</option>
  <option value="opt4">Option 4</option>
</select>

I might not be looking in the right places, but so far it doesn't look like
this is possible. (I see how <itemset> could be used to bind to multiple <f>
elements, but I don't see how to specify default values in that case.) If
someone could prove me wrong, that would be nice.

Thanks,
Evan
Received on Wednesday, 13 October 2004 22:41:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:59 GMT