-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.php
More file actions
201 lines (197 loc) · 5.76 KB
/
forms.php
File metadata and controls
201 lines (197 loc) · 5.76 KB
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
189
190
191
192
193
194
195
196
197
198
199
200
201
<?php include('header.php'); ?>
<div id="wrap" role="main">
<!--one column -->
<div class="oneCol">
<div class="content">
<h1>
Example of all form elements
</h1>
<form action="#" method="post" enctype="multipart/form-data" onsubmit="return false">
<p>
<input type="checkbox" id="test_checkbox_1" name="test_checkbox_1" />
<label for="test_checkbox_1">
Test checkbox 1
</label>
<input type="checkbox" id="test_checkbox_2" name="test_checkbox_2" />
<label for="test_checkbox_2">
Test checkbox 2
</label>
<input type="checkbox" id="test_checkbox_3" name="test_checkbox_3" />
<label for="test_checkbox_3">
Test checkbox 3
</label>
</p>
<p>
<input type="radio" id="test_radio_1" name="test_radio_group" />
<label for="test_radio_1">
Test radio 1
</label>
<input type="radio" id="test_radio_2" name="test_radio_group" />
<label for="test_radio_2">
Test radio 2
</label>
<input type="radio" id="test_radio_3" name="test_radio_group" />
<label for="test_radio_3">
Test radio 3
</label>
</p>
<p>
<label for="select_dd">
Select drop-down
</label>
<br />
<select id="select_dd" name="select_dd">
<optgroup label="Group 1">
<option value="1">Some text goes here</option>
<option value="2">Another choice could be here</option>
<option value="3">Yet another item to be chosen</option>
</optgroup>
<optgroup label="Group 2">
<option value="4">Some text goes here</option>
<option value="5">Another choice could be here</option>
<option value="6">Yet another item to be chosen</option>
</optgroup>
<optgroup label="Group 3">
<option value="7">Some text goes here</option>
<option value="8">Another choice could be here</option>
<option value="9">Yet another item to be chosen</option>
</optgroup>
</select>
<input type="text" id="text_inline" name="text_inline" />
<input type="button" value="Hello" />
</p>
<p>
<label for="select_multi">
Select multiple
</label>
<br />
<select id="select_multi" name="select_multi" multiple="multiple" size="10">
<optgroup label="Group 1">
<option value="1">Some text goes here</option>
<option value="2">Another choice could be here</option>
<option value="3">Yet another item to be chosen</option>
</optgroup>
<optgroup label="Group 2">
<option value="4">Some text goes here</option>
<option value="5">Another choice could be here</option>
<option value="6">Yet another item to be chosen</option>
</optgroup>
<optgroup label="Group 3">
<option value="7">Some text goes here</option>
<option value="8">Another choice could be here</option>
<option value="9">Yet another item to be chosen</option>
</optgroup>
</select>
</p>
<p>
<label for="textarea">
Textarea
</label>
<br />
<textarea id="textarea" name="textarea" rows="5" placeholder="This is an example of HTML5 placeholder text."></textarea>
</p>
<p>
<label for="url">
URL + Autofocus
</label>
<br />
<input type="url" id="url" name="url" value="http://" autofocus="autofocus" />
</p>
<p>
<label for="email">
Email
</label>
<br />
<input type="email" id="email" name="email" placeholder="name@example.com" />
</p>
<p>
<label for="password">
Password
</label>
<br />
<input type="password" id="password" name="password" placeholder="Alphanumeric123!" />
</p>
<p>
<label for="datetime-local">
Datetime local
</label>
<br />
<input type="datetime-local" id="datetime-local" name="datetime-local" />
</p>
<p>
<label for="number">
Number
</label>
<br />
<input type="number" id="number" name="number" min="0" max="999" step="1" />
</p>
<p>
<label for="tel">
Tel (phone)
</label>
<br />
<input type="tel" id="tel" name="tel" />
</p>
<p>
<label for="datetime">
Datetime
</label>
<br />
<input type="datetime" id="datetime" name="datetime" />
</p>
<p>
<label for="date">
Date
</label>
<br />
<input type="date" id="date" name="date" />
</p>
<label for="month">
Month
</label>
<br />
<input type="month" id="month" name="month" />
<p>
<label for="search">
Search
</label>
<br />
<input type="search" id="search" name="search" />
</p>
<p>
<label for="range">
Range
</label>
<br />
<input type="range" id="range" name="range" />
</p>
<p>
<label for="file">
File upload
</label>
<br />
<input type="file" id="file" name="file" />
</p>
<p>
<input type="submit" value="Input - Submit" />
<input type="button" value="Input - Button" />
<input type="reset" value="Input - Reset" />
<button>Button tag</button>
</p>
</form>
</div>
</div>
<!-- end one column -->
</div>
<?php include('footer.php'); ?>