Initial commit of newLISP.
[newlisp.git] / examples / form.html
blobfc99c8d055752743932b18884bf41924cf63d894
1 <html>
2 <head><title>A form to check newLISP CGI</title></head>
3 <body>
4 <h3>A test form for checking out the POST method in HTTP.</h3>
5 <p>Change "localhost" in the action statement to the correct hostname, if trying this remotely.</p>
6 <form action="form.cgi" method="POST">
7 Name (text entry field) <input type="text" name="name"> <p>
8 Check Me (checkbox)
9 <p><input type="checkbox" name="checkMe"></p>
10 <p>
11 Select me (radio buttons)<br>
12 <input type="radio" name=color value="Red">red<BR>
13 <input type="radio" name=color value="Green">green<BR>
14 <input type="radio" name=color value="Blue">blue<BR>
15 </p>
16 <p>
17 Choose one (select)
18 <select name="chooseOne">
19 <option> First
20 <option> Second
21 <option> Third
22 <option> Fourth
23 </select>
24 </p>
25 <p>
26 <p>Enter text (textarea)</p>
27 <textarea name=textField rows=4 cols=40>
28 </textarea>
29 </p>
30 <p>
31 Submit It (submit) <input type="submit" value="Go">
32 </p>
33 </form>
34 </body>
35 </html>