-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
154 lines (153 loc) · 5.11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Registration form</title>
<!-- Number input assets -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.min.css"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/intlTelInput.min.js"></script>
<!-- Moment js to assets to format date -->
<script src="./moment/moment-with-locales.min.js"></script>
<!-- Axios -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.0.0/axios.min.js"
integrity="sha512-26uCxGyoPL1nESYXHQ+KUmm3Maml7MEQNWU8hIt1hJaZa5KQAQ5ehBqK6eydcCOh6YAuZjV3augxu/5tY4fsgQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<!-- css -->
<link rel="stylesheet" href="style.css" />
<!-- js -->
<script src="app.js" defer></script>
</head>
<body>
<div class="container">
<form>
<!-- Name -->
<div class="name-container" hidden>
<input type="text" id="name" placeholder="name" />
</div>
<!-- Email -->
<div>
<input type="email" id="email" placeholder="email" required />
</div>
<!-- Year -->
<div class="year" hidden>
<label>Year</label>
<select id="year">
<option value="any" selected>Any</option>
</select>
</div>
<!-- month -->
<div class="month" hidden>
<label>Month</label>
<select id="month">
<option value="any" selected>Any</option>
</select>
</div>
<!-- day -->
<div class="day" hidden>
<label>Day</label>
<select id="day">
<option value="any" selected>Any</option>
</select>
</div>
<!-- date -->
<div class="date" hidden>
<label>Date</label>
<select id="date">
<option value="any" selected>Any</option>
</select>
</div>
<!-- meridiem -->
<div class="meridiem" hidden>
<label>Meridiem</label>
<select id="meridiem">
<option value="any" selected>Any</option>
</select>
</div>
<!-- Time -->
<div>
<label for="time">Pick a time</label>
<select id="time">
<option selected>Select a time</option>
<!-- JS will fill this -->
</select>
</div>
<!-- GDPR consent -->
<div class="gdpr-main-container" hidden>
<label>Member of EU:</label>
<div>
<input
type="radio"
name="eu-member"
id="eu-member-yes"
value="yes"
/>
<label for="eu-member-yes">Yes</label>
<br />
<input type="radio" name="eu-member" id="eu-member-no" value="no" />
<label for="eu-member-no">No</label>
</div>
<!-- Confirmation -->
<div id="gdpr-container" hidden>
<h4 class="center">
Confirm Your Consent and Webinar Registration
</h4>
<input type="checkbox" id="gdpr-agree" />
<label for="gdpr-agree"
>I consent to register for this webinar and receive information
about products and services from this webinar presenter per the
<a
href="http://www.joinnow.live/gdpr-privacy-statement/index.html"
>
GDPR Privacy Statement.
</a>
</label>
</div>
</div>
<!-- SMS alert -->
<div class="sms-alert-container" hidden>
<input type="checkbox" id="sms-alert" />
<label for="sms-alert"
>I would like to receive an SMS text alert before the event starts
(Optional but highly recommended)</label
>
<!-- Number -->
<div id="number-input-container" hidden>
<!-- title -->
<h4 class="stealth-seminar-sms-number-input-fields-title">
SMS Number
</h4>
<!-- input -->
<input type="tel" />
<!-- Description -->
<p class="center">
Enter your mobile phone number to receive a text reminder when the
webinar is starting
</p>
</div>
</div>
<!-- Country -->
<div class="country-container" hidden>
<label for="country">Country</label>
<select id="country" name="country">
<option value="" selected disabled>Select a country</option>
<!-- JS will fill this -->
</select>
</div>
<!-- Custom filed container -->
<div class="custom-fields-container"></div>
<!-- Submit Button -->
<div class="center">
<button class="submit-button" type="submit">Submit</button>
</div>
</form>
</div>
</body>
</html>