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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
|
<html>
<head><title>Page Title</title></head>
<body>
<h1>Post Form 1</h1>
<form name="post_form1" method="post" action="/form_post" id="generic_form" class="really_generic_form" >
<table>
<tr>
<td>First Name</td>
<td><input type="text" name="first_name" id="name_first" class="text_input"/></td>
</tr>
<tr>
<td>Gender</td>
<td>
M: <input type="radio" name="gender" value="male" /><br />
F: <input type="radio" name="gender" value="female" /><br />
</td>
</tr>
<tr>
<td>Check this if you are cool:</td>
<td><input type="checkbox" name="cool person" /></td>
</tr>
<tr>
<td>Check this if you like green eggs:</td>
<td><input type="checkbox" name="green[eggs]" /></td>
</tr>
<tr>
<td>Check this if you like ham:</td>
<td><input type="checkbox" name="likes ham" /></td>
</tr>
</table><br />
<select name="country">
<option value="USA">USA</option>
<option value="CANADA">CANADA</option>
</select><br />
<select name="empty">
</select><br />
<input type="submit" value="Submit" />
</form>
<h1>Get Form 1</h1>
<form name="get_form1" method="get" action="/form_post">
<table>
<tr>
<td>First Name</td>
<td><input type="text" name="first_name" /></td>
</tr>
<tr>
<td>Gender</td>
<td>
M: <input type="radio" name="gender" value="male" /><br />
F: <input type="radio" name="gender" value="female" /><br />
</td>
</tr>
<tr>
<td>Check this if you are cool:</td>
<td><input type="checkbox" name="cool person" /></td>
</tr>
<tr>
<td>Check this if you like green eggs:</td>
<td><input type="checkbox" name="green[eggs]" /></td>
</tr>
<tr>
<td>Check this if you like ham:</td>
<td><input type="checkbox" name="likes ham" /></td>
</tr>
</table><br />
<input type="image" name="button" value="button" src="button.jpg" />
<input type="submit" value="Submit" />
</form>
<!-- Get ant post to a form with a space in the name -->
<h1>Post Form 2</h1>
<form name="post_form2" method="post" action="/form post">
<table>
<tr>
<td>First Name</td>
<td><input type="text" name="first_name" /></td>
</tr>
<tr>
<td>Gender</td>
<td>
M: <input type="radio" name="gender" value="male" /><br />
F: <input type="radio" name="gender" value="female" /><br />
</td>
</tr>
<tr>
<td>Check this if you are cool:</td>
<td><input type="checkbox" name="cool person" /></td>
</tr>
<tr>
<td>Check this if you like ham:</td>
<td><input type="checkbox" name="likes ham" /></td>
</tr>
</table><br />
<input type="submit" value="Submit" />
</form>
<h1>Get Form 2</h1>
<form name="get_form2" method="get" action="/form post">
<table>
<tr>
<td>First Name</td>
<td><input type="text" name="first_name" /></td>
</tr>
<tr>
<td>Gender</td>
<td>
M: <input type="radio" name="gender" value="male" /><br />
F: <input type="radio" name="gender" value="female" /><br />
</td>
</tr>
<tr>
<td>Check this if you are cool:</td>
<td><input type="checkbox" name="cool person" /></td>
</tr>
<tr>
<td>Check this if you like ham:</td>
<td><input type="checkbox" name="likes ham" /></td>
</tr>
</table><br />
<input type="submit" value="Submit" />
</form>
<!-- forms with parameters in the action -->
<h1>Post Form 3</h1>
<form name="post_form3" method="post" action="/form_post?great day=yes&one=two">
<table>
<tr>
<td>First Name</td>
<td><input type="text" name="first_name" /></td>
</tr>
<tr>
<td>Gender</td>
<td>
M: <input type="radio" name="gender" value="male" /><br />
F: <input type="radio" name="gender" value="female" /><br />
</td>
</tr>
<tr>
<td>Check this if you are cool:</td>
<td><input type="checkbox" name="cool person" /></td>
</tr>
<tr>
<td>Check this if you like ham:</td>
<td><input type="checkbox" name="likes ham" /></td>
</tr>
</table><br />
<input type="submit" value="Submit" />
</form>
<!-- Post form with multipart/form-data -->
<h1>Post Form 4 - Multipart</h1>
<form name="post_form4_multipart" enctype="multipart/form-data" method="post" action="/form_post">
<table>
<tr>
<td>First Name</td>
<td><input type="text" name="first_name" /></td>
</tr>
</table><br />
<input type="submit" value="Submit" />
</form>
<h1>Get Form 3</h1>
<form name="get_form3" method="get" action="/form_post?great day=yes&one=two">
<table>
<tr>
<td>First Name</td>
<td><input type="text" name="first_name" /></td>
</tr>
<tr>
<td>Gender</td>
<td>
M: <input type="radio" name="gender" value="male" /><br />
F: <input type="radio" name="gender" value="female" /><br />
</td>
</tr>
<tr>
<td>Check this if you are cool:</td>
<td><input type="checkbox" name="cool person" /></td>
</tr>
<tr>
<td>Check this if you like ham:</td>
<td><input type="checkbox" name="likes ham" /></td>
</tr>
</table><br />
<input type="submit" value="Submit" />
</form>
<a href="/form_test.html">form test</a>
</body>
</html>
|