Q: SELECT VALUE in OPTION

Frank Richter (Frank.Richter@hrz.tu-chemnitz.de)
Wed, 14 Sep 1994 10:07:54 +0200 (MET DST)


Hi,
I have a question on correct using of SELECT statement in a FORM.
I tried to use the following HTML code:

...
<FORM ACTION="/cgi-bin/test-cgi">
<SELECT NAME="M">
<OPTION VALUE="value1"> Text 1
<OPTION VALUE="value2"> Text 2
</SELECT><INPUT TYPE="submit" VALUE="go"></FORM>
...

Is the use of VALUE in OPTION correct?
Mosaic 2.4 does what I want: if user selects Text 1, value1 is sent.
Lynx 2.3 doesn't what I want: if user selects Text 1, Text 1 is sent.

One implementation wrong? Or my HTML wrong? Or "undefined behaviour"?

Any hints welcome,
Frank
--------------------------------------------------------------------------
Frank Richter Computing Services, Technical University Chemnitz, Germany
Email: Frank.Richter@hrz.tu-chemnitz.de (MIME welcome) | see X.500 entry