Re: Q: SELECT VALUE in OPTION

Robert A. Lentz (lentz@annie.astro.nwu.edu)
Wed, 14 Sep 1994 17:26:25 +0200

> 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?

Yes, at least according to
http://www.hal.com/products/sw/olias/Build-html/BRgs0XBMCmF84aK.html

> 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.

MacMosaic 2.0a6 and MacWeb 1.0a2.2 also do not handle this correctly. The
author of MacWeb has stated that this will be fixed in the next major release.
I guess this is a good example of the problems with independent versions of
libwww.

take care,
-Robert

-- 
lentz@annie.astro.nwu.edu            http://www.astro.nwu.edu/lentz/plan.html
	"You have to push as hard as the age that pushes against you."
					-Flannery O'Connor