-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsupport-ticket.html
More file actions
199 lines (134 loc) Β· 6.23 KB
/
support-ticket.html
File metadata and controls
199 lines (134 loc) Β· 6.23 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Lobster|Raleway" rel="stylesheet">
<link rel="stylesheet" href="./support-ticket.css">
<title>Request Support Ticket Form</title>
</head>
<body class="cyan darken-1">
<h1 id='title'>π©π½βπ» Request Support Ticket π©π½βπ»</h1>
<div id='survey-container' >
<div class='description'>
<p id='description'>
Please fill out and submit the form below to request the services of Kathy Lambert, Software Developer & Project Manager Extraordinaire.
<p/>
</div>
<br></br>
<form action="https://formspree.io/tkathleen.lambert@gmail.com" method='POST' id='survey-form'>
<div class='row' >
<div class='rowLeft'>
<label for='name' class='labels' id="name-label" > *Name: </label>
</div>
<div class='rowRight'>
<input type='text' id='name' name='name' placeholder='Kandace Wilkins'/ required>
</div>
</div>
<div class='row' >
<div class='rowLeft'>
<label for='email' id="email-label"> *Email: </label>
</div>
<div class='rowRight'>
<input type='email' id='email' name='email' placeholder='Kandace.Wilkins@gmail.com' required/>
</div>
</div>
<div class='row' >
<div class='rowLeft'>
<label for='number' class='labels' id="number-label" >Phone Number: </label>
</div>
<div class='rowRight'>
<input type='tel' id='number' name='phone-number' placeholder='000.000.0000' required pattern="[0-9]{3}[0-9]{3}[0-9]{4}" min="1" max="9">
<span class="validity"></span>
</div>
</div>
<div class='row' >
<div class='rowLeft'>
<label for='req-task'> Requested Task: </label>
</div>
<div class='rowRight'>
<input type='text' id='req-task' name='requested-task' placeholder="Create a new website." />
</div>
</div>
<div class='row' >
<div class='rowLeft'>
<label for='req-task'>Requested Task Category: </label>
</div>
<div class='rowRight'>
<select id='dropdown'>
<option value='administrative'>Administrative</option>
<option value='technical'>Technical</option>
<option value='household'>Household</option>
</select>
</div>
</div>
<div class='row' >
<div class='rowLeft'>
<label for='req-task'> Task Description: </label>
</div>
<div class='rowRight'>
<textarea type='text' id='task-description' name='task-description' rows='3' cols='33' maxlength='200' wrap='hard' placeholder="A single page website with a contact form." ></textarea>
</div>
</div>
<div class='row' >
<div class='rowLeft'>
<label for='task-priority-level'> Task Priority Level: </label>
</div>
<div class='rowRight'>
<input type='radio' id='radio-priority-level-1' name='high-priority' style="width: 10px" value="1">
<label for='priority-1' id="label-priority-level"> Priority Level 1 </label>
<br>
<input type='radio' id='radio-priority-level' name='medium-priority' style="width: 10px" value="2">
<label for='priority-2' id="label-priority-level"> Priority Level 2 </label>
<br>
<input type='radio' id='radio-priority-level' name='low-priority' style="width: 10px" checked/ value="3">
<label for='priority-3' id="label-priority-level" checked > Priority Level 3 </label>
</div>
</div>
<!-- <div class='row checkbox-row' >
<div class='rowLeft'>
<label for='human-confirmation'> Confirm Humanity: </label>
</div>
<div class='rowRight'>
<input type='checkbox' id='human-confirmation' name='human-confirmation' style="width: 10px" value="1">
<label for="human-confirmation">Robot</label>
<br>
<input type='checkbox' id='human-confirmation' name='human-confirmation' style="width: 10px" value="2" required>
<label for="human-confirmation">Human</label>
<br>
<input type='checkbox' id='human-confirmation' name='human-confirmation' style="width: 10px" value="3">
<label for="human-confirmation">Robot</label>
</div>
</div> -->
<div class='row' >
<div class='rowLeft'>
<label for='add-comments'> Additional Request Details: </label>
</div>
<div class='rowRight'>
<textarea type='text' id='add-comments' name='additional-comments' rows='3' cols='33' maxlength='200' wrap='hard' ></textarea>
</div>
</div>
<div class='row' >
<div class='rowLeft'>
<label for='req-deadline'> Requested Deadline: </label>
</div>
<div class='rowRight'>
<input type='date' id='req-deadline' name='requested-deadline' required pattern="required pattern="[0-9]{4}-[0-9]{2}-[0-9]{2}" />
<span class="validity"></span>
</div>
</div>
<button type="submit" id="submit" value='Send' >Submit Support Ticket</button>
</form>
</div>
<script src="js/index.js">
// Email Validation
var email = document.getElementById('email')
email.addEventListener('input', function(event) {
if (email.validity.typeMismatch) {
email.setCustomValidity('Please provide a vaild email address.')
} else {
email.setCustomValidity('')
}
})
</script>
</body>
</html>