-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
101 lines (78 loc) · 3.28 KB
/
contact.php
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
<?php include 'includes/header.php'; ?>
<main class="container1">
<div class="starter-template text-center">
<h1>Contact us</h1>
<p class="lead">Please use the form below to get in touch with us.</p>
<form class="starter-template text-center" method="POST" name="contactform" action="contact-form-handler.php">
<!-- <form class="starter-template text-center" method="POST" name="contactform" action="contact-form.php"> -->
<div >
<label for="name" class="form-label">Your Name</label>
<input type="text" name="name" class="form-control" placeholder="First name and Surname" required>
</div>
<div >
<label for="email" class="form-label">Email Address</label>
<input type="email" name="email" id="email"class="form-control" placeholder="Email Address" required>
</div>
<div >
<label for="password">Password:</label>
<input type="password" id="password" name="password" placeholder="Password" required>
</div>
<div >
<label for="dob">Date of birth:</label>
<input type="date" id="dob" name="dob" placeholder="Date of birth" required>
</div>
<div >
<label for="gender" >Gender:</label>
<select id="gender" name="gender" required>
<option value="">Select gender</option>
<option value="male">Male</option>
<option value="female">Female</option>
<option value="other">Other</option>
</select>
</div>
<div >
<label for="age">Age:</label>
<input type="number" id="age" name="age" min="18" max="120" placeholder="Age" required>
</div>
<div >
<label for="city">City:</label>
<select id="city" name="city" required>
<option value="">Select a city</option>
<option value="Dublin">Dublin</option>
<option value="Cork">Cork</option>
<option value="Galway">Galway</option>
<option value="Limerick">Limerick</option>
<option value="Waterford">Waterford</option>
<option value="Kilkenny">Kilkenny</option>
<option value="Drogheda">Drogheda</option>
<option value="Sligo">Sligo</option>
<option value="Castlebar">Castlebar</option>
<option value="Shannon">Shannon</option>
<option value="New Ross">New Ross</option>
<option value="Wicklow">Wicklow</option>
<option value="Arklow">Arklow</option>
<option value="Wexford">Wexford</option>
</select>
</div>
<div >
<label for="zipcode" class="form-label">Zip code</label>
<input type="zip" name="zipcode" class="form-control" required>
</div>
<div >
<label for="phone" class="form-label">Phone Number</label>
<input type="tel" name="phone" class="form-control" placeholder="123-45-678" required>
</div>
<div >
<label for="newsletter">Subscribe to our newsletter:</label>
<input type="checkbox" id="newsletter" name="newsletter" value="yes" required>
</div>
<div >
<label for="message" class="form-label">Message</label>
<textarea name="message" class="form-control" rows="5" required></textarea>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</main>
<script src="validation.js"></script>
<?php include 'includes/footer.php'; ?>