-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
99 lines (87 loc) · 4.22 KB
/
form.html
File metadata and controls
99 lines (87 loc) · 4.22 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
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<!-- head - Googlefonts link -->
<div id="outside">
<form id="survey-form" action="/my-handling-form-page" method="post">
<h1 id="title">Application for permission to date my daughter</h1>
<p id="description"><b>Note:</b> Form is to be completed at least 21 days prior to date</p>
<!-- ------------------Personal Details---------------------------- -->
<fieldset>
<!-- groups of widgets that share the same purpose, for styling and semantic purposes -->
<legend>Personal Details</legend>
<!-- formally describes the purpose of the fieldset it is included inside. -->
<div>
<label id="name-label" for="name">Name:</label>
<input type="text" required id="name" name="user_name" placeholder="Enter name here"> </div>
<div>
<label for="address-label">Address:</label>
<input type="Address" id="address" name="Address" placeholder="Enter address here"> </div>
<div>
<label id="email-label" for="Email">Email:</label>
<input type="email" required id="email" name="user_email" placeholder="Enter email here"> </div>
<div>
<label id="number-label" for="phone">Phone Number:</label>
<input type="number" id="number" name="user_name" placeholder="Enter 10 digit number" min="1" max="9"> </div>
<div>
<label id="iq-label" for="iq">IQ:</label>
<input type="number" id="iq" name="iq" placeholder="Enter IQ here"> </div>
<!-- ------------------Radio Buttons-------------------------------- -->
<div>
<label for="Gender">Gender</label>
<p>
<input type="radio" name="gender" value="male" checked> Male<br>
<input type="radio" name="gender" value="female"> Female<br>
<input type="radio" name="gender" value="other"> Other
</p>
</div>
<label for="date-label">Date of Proposed Outing:</label>
<input type="date" name="bday">
</fieldset>
<!-- ------------------Checkboxes-------------------------------- -->
<fieldset>
<label for="Gender">Check All That Apply</label>
<p>
<input type="checkbox" name="tattoo" value="tattoo"> I have tattoos and/or piercings<br>
<input type="checkbox" name="age" value="Car"> I am more than 2 years older than my daughter<br>
<input type="checkbox" name="car" value="car"> I own a panel van or V8 ute<br>
<input type="checkbox" name="work" value="work" checked> I work full-time<br>
<input type="checkbox" name="rich" value="rich" checked> My parents are rich<br>
<input type="checkbox" name="loc" value="loc" checked> Is the date at a well lit public location<br>
</p>
</fieldset>
<!-- -----------------Dropdown menus--------------------------------- -->
<fieldset>
<div>
<label for="politics">Political Persuasion:</label>
<select id="dropdown">
<option value="left">Left Wing</option>
<option value="right">Right Wing</option>
<option value="conservative">Conservative</option>
<option value="nazi">Nazi</option>
</select>
<label for="politics">Education Level Completed:</label>
<select id="dropdown2">
<option value="University">University</option>
<option value="College">College</option>
<option value="Secondary">High School</option>
<option value="None">None</option>
</select>
</div>
</fieldset>
<!-- --------------------Text Areas------------------------------ -->
<fieldset>
<legend>Essay Section</legend>
<div>
<label for="msg"></label>
<p> In 50 words or more explain why you want to date my daughter</p>
<textarea id="msg" name="user_message" rows="4" cols="50" placeholder="Enter Text Here"></textarea> </div>
<div>
<label for="msg">Please upload contact details for 2 references</label><br>
<textarea id="msg2" name="user_message" rows="4" cols="50" placeholder="Enter Text Here"></textarea> </div>
<p>Upload Police Clearance Certificate, Bank Statement and Medical Certifiates here:
<button>Attach Files</button></p>
</fieldset>
<div id="submitbutton">
<button type="submit" id="submit">Send your application</button> </div>
</form>
</div>
<!-- https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Form_validation -->