W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2000

empty option in select

From: Karl-Michael Schneider <schneide@phil.uni-passau.de>
Date: Wed, 19 Jul 2000 18:19:39 +0200 (MET DST)
Message-Id: <200007191619.SAA00766@piezoelectric.phil.uni-passau.de>
To: www-amaya@w3.org
I have a form like this:

<form action="url" method="post">
<select name="data" size=1><option><option>aaa<option>bbb</select>
<input type=submit value="Search">
</form>

The first option is empty, that is, an empty string. When the empty option is
selected and the form is submitted, the value posted by Amaya for data is some
string like "&@<@!", i.e. random garbage, instead of an empty string.

Amaya is version 3.2, Linux binary.

Karl-Michael Schneider
Received on Wednesday, 19 July 2000 12:19:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:32 UTC