File: form-test.html

package info (click to toggle)
xmhtml 1.1.10-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,296 kB
  • sloc: ansic: 70,372; makefile: 480; sh: 176; perl: 36
file content (68 lines) | stat: -rw-r--r-- 1,940 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<HTML>
<HEAD><TITLE>Form test for XmHTML</TITLE></HEAD>
<body bgcolor="white" text="black">
<!-- change the following action to point to your location -->
<!--
<FORM method=POST action=http://localhost/~newt/cgi-bin/form-test.cgi>
-->
<FORM method=GET action=http://localhost/~newt/cgi-bin/form-test.cgi>

<P>
Text Field<input name=author size=20 maxlength=20 value="offer"> 
A Password entry <input name=pw size=10 type=password>
</P>

<P>
One Of<select size=1 name=one_of>
<option value="">?
<option selected value=apples>apples 
<option  value=oranges>oranges 
<option  value=bananas>bananas 
</select>

A file entry <input name=file type=file><br>
A multi-file entry with a pattern and custom label
	<input name=multi_file type=file src="*.html"
		value="Selecteer een bestand..." multiple size="40">
</P>

<P>
Multiple Selections<select multiple size=3 cols=5 name=multi>
<option >fred
<option selected>henry
<option >george
<option >mable
<option selected>mr mole
</select>

An image <input name=image type=image src=test-pages/pnglogo-blk-tiny.png> 
</P>

<P>
<input name=ford type=checkbox value=1 checked>Owned a Ford
<input name=Suzuki type=checkbox value=1 checked>Owned a Suzuki
<input name=Opel type=checkbox value=1 >Owned a Opel<BR>
<input name=Fiat type=checkbox checked value=1 >Owned a Fiat
<input name=Porche type=checkbox value=1 >Owned a Porche
<input name=Bently type=checkbox value=1 >Owned a Bently<BR>
<input name=Mazda type=checkbox checked value=1 >Owned a Mazda<BR>
</P>

<P>
Sex <input type=radio name=sex value=male>Male
<input type=radio name=sex value=female>Female
<input type=radio name=sex value="Yes Please">Yes Please
</P>

<P>
A Message from Our Sponsor<textarea name=message rows=5 cols=30></textarea>
</P>

<input type=hidden name=hide_something_here value="user insulting message">

<HR>
<input type=submit name=search value=Send to back end>
<input type=reset  value=Clear>

</form></body>
</html>