Forms support in clients

Gavin Nicol (gtn@ebt.com)
Sat, 24 Sep 1994 10:08:50 +0500


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