[5575] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: Q: SELECT VALUE in OPTION

daemon@ATHENA.MIT.EDU (Robert A. Lentz)
Wed Sep 14 12:03:33 1994

Date: Wed, 14 Sep 1994 17:41:44 +0200
Errors-To: listmaster@www0.cern.ch
Errors-To: listmaster@www0.cern.ch
Reply-To: lentz@annie.astro.nwu.edu
From: "Robert A. Lentz" <lentz@annie.astro.nwu.edu>
To: Multiple recipients of list <www-talk@www0.cern.ch>

> 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

home help back first fref pref prev next nref lref last post