Re: Forms support in clients

Brian Behlendorf (brian@wired.com)
Sat, 24 Sep 1994 21:11:59 -0700 (PDT)


I don't understand what you're trying to do. If you're trying to give
names to the variables in a form, doesn't the NAME tag do that already?
Or are you trying to place some sort of default text in the text entry
field (which can be done using VALUE)?

Brian

On Sat, 24 Sep 1994, Gavin Nicol wrote:
> Has anyone thought of allowing text substitution using forms? For
> example:
>
> <!DOCTYPE HTML SYSTEM "html.dtd">
> <HEAD>
> <TITLE>Search Form</TITLE>
> </HEAD>
> <BODY>
> <HR>
> <H1>Search Form</H1>
> The following is a simple search template. Please fill in the fields.
> <P>
> <FORM ACTION="http://foo/$doc?$sstr" METHOD=GET>
> Enter your query below.
> <INPUT TYPE="text" ID="sstr" NAME="Search string" MAXLENGTH=80><P>
> <INPUT TYPE="text" ID="doc" NAME="Document Name" MAXLENGTH=80><P>
> <INPUT TYPE="submit" NAME="Send Request">
> </FORM>
> </BODY>
>
> ID is just an example. Ideally we should use NAME. Such a scheme would
> add a huge amount of flexibility to forms support at little cost I
> think. Looking at the code in Mosaic that handles forms, the changes
> appear to be simple enough...
>