-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
158 lines (140 loc) · 5.5 KB
/
form.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--=============== FAVICON ===============-->
<link rel="shortcut icon" href="assets/img/favicon.png" type="image/x-icon">
<!--=============== BOXICONS ===============-->
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<!--=============== SWIPER CSS ===============-->
<link rel="stylesheet" href="assets/css/swiper-bundle.min.css">
<!--=============== CSS ===============-->
<link rel="stylesheet" href="assets/css/styles.css">
<title>PostMarkSigns Order</title>
<style>
/* Styling for the form container */
.form-container {
max-width: 400px;
margin: 0 auto;
margin-top: 100px;
margin-bottom: 100px;
background-color: #f2f2f2;
padding: 20px;
border-radius: 5px;
}
/* Styling for form labels */
label {
display: block;
margin-top: 10px;
font-weight: bold;
}
/* Styling for form inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
font-family: Arial, sans-serif;
font-size: 14px;
}
/* Styling for the submit button */
input[type="submit"] {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
/* Styling for the form submission button on hover */
input[type="submit"]:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<!--==================== HEADER ====================-->
<header class="header" id="header">
<nav class="nav container">
<a href="index.html" class="nav__logo">
PostMarkSigns <img style="width: 20px;" src="assets/img/sign.png">
</a>
<div class="nav__menu">
<ul class="nav__list">
<li class="nav__item">
<a href="#home" class="nav__link active-link">
<i class="bx bx-home-alt-2"></i>
<span>Home</span>
</a>
</li>
<li class="nav__item">
<a href="#popular" class="nav__link">
<i class="bx bx-building-house"></i>
<span>Residences</span>
</a>
</li>
<li class="nav__item">
<a href="#value" class="nav__link">
<i class="bx bx-award"></i>
<span>Value</span>
</a>
</li>
<li class="nav__item">
<a href="#contact" class="nav__link">
<i class="bx bx-phone"></i>
<span>Contact</span>
</a>
</li>
<li class="nav__item">
</li>
</ul>
</div>
<a href="#" id="subscribe-button" class="button nav__button">
Subscribe
</a>
</nav>
</header>
<div class="form-container">
<form action="https://formspree.io/f/mzblegez" method="POST">
<label for="agent-name">Name of Agent:</label>
<input type="text" id="agent-name" name="agent-name" required>
<label for="agent-email">Email:</label>
<input type="email" id="agent-email" name="agent-email" title="Please enter correct email address ex: email@gmail.com" required pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}">
<label for="contact-number">Contact Number:</label>
<input type="tel" id="contact-number" name="contact-number" title="Please enter correct format phone number ex:123-123-1234" required pattern="\d{3}-\d{3}-\d{4}">
<label for="brokerage">Brokerage/Company:</label>
<input type="text" id="brokerage" name="brokerage">
<label for="listing-address">Listing Address:</label>
<input type="text" id="listing-address-line1" name="listing-address-line1" placeholder="Address Line 1" required>
<input type="text" id="listing-address-line2" name="listing-address-line2" placeholder="Address Line 2">
<input type="text" id="listing-city" name="listing-city" placeholder="City" required>
<input type="text" id="listing-province" name="listing-province" value="ON" readonly>
<input type="text" id="listing-postal-code" name="listing-postal-code" placeholder="Postal Code" title="Please enter correct postal code ex: L1A 3Z1" required pattern="[A-Za-z0-9 -]{3,10}">
<input type="text" id="listing-country" name="listing-country" value="CA" readonly>
<label for="post-color">Post Color:</label>
<select id="post-color" name="post-color" required>
<option value="">Choose a color</option>
<option value="Black">Black</option>
<option value="White">White</option>
<option value="Red">Red</option>
<option value="Navy Blue">Navy Blue</option>
<option value="Cyan">Cyan</option>
</select>
<label for="install-date">Install Date:</label>
<input name="install-date" type="date" id="dateInput" required oninput="setMinDate()" title="Please select date to install post">
<label for="notes">Notes/Comments/Instructions:</label>
<textarea id="notes" name="notes" rows="4" cols="50"></textarea>
<input type="submit" value="Submit">
</form>
</div>
<script src="assets/js/main.js"></script>
</body>
</html>