forked from HPQC-LABS/HPQC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lectures_tickets.html
611 lines (504 loc) · 40.2 KB
/
lectures_tickets.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
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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HPQC Labs: High Performance & Quantum Computing</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
rel="stylesheet" />
<link href="default.css" rel="stylesheet" type="text/css" media="all" />
<link href="lectures.css" rel="stylesheet" type="text/css" media="all" />
<link href="lectures_tickets.css" rel="stylesheet" type="text/css" media="all" />
<!--<link href="lectures.html" rel="stylesheet" type="text/css" media="all" />-->
<link href="fonts.css" rel="stylesheet" type="text/css" media="all" />
<link href="AOS\aos.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/[email protected]/slick/slick.css" />
<link rel="apple-touch-icon" sizes="180x180" href="images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<link rel="shortcut icon" href="images/favicon.ico" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.4.1.js"
integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU="
crossorigin="anonymous"></script>
<!--[if IE 6]><link href="default_ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
</head>
<body>
<div class="endContainer" id="eContainer">
<div class="endScreen" id="end">
<div class="endScreenHeader">
<span class="endScreenTitle">Thank you for registering!</span>
<span class="close">×</span>
</div>
<p>
Please click the verification link emailed to you by <b>[email protected]</b>.
</p>
</div>
</div>
<!--See comments about Nav bar in index.html-->
<div id="menu">
<div class="navbar-toggle" id="navbar-toggle">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<a href="index.html" class="logo">
<img src="images/HPQC_Labs.svg" class="logoImg">
<span class="logoTxt">HPQC Labs</span>
</a>
<ul class="main-nav" id="main-nav">
<li><a href="index.html" accesskey="1" title="">Homepage</a></li>
<li><a href="people.html" accesskey="2" title="">People</a></li>
<li><a href="https://github.com/HPQC-LABS" accesskey="3" title="">Research</a></li>
<li><a href="by-laws.html" accesskey="4" title="">By-laws</a></li>
<li class="dropmenu">
<div class="current_page_item"><a class="dropbtn" accesskey="6" id="selection" title="">Lectures</a>
</div>
<div class="content">
<a href="lectures.html" title="">Lectures</a>
<a href="LaTeX.html">LaTeX Setup</a>
</div>
</li>
<li><a href="college.html" accesskey="5" title="">HPQC College</a></li>
</ul>
</div>
<div id="banner"> </div>
<div id="featured">
<div class="container">
<div class="title">
<!--Html for the form which contains the flyer, and registration form-->
<div id="form">
<img class="imgFrame" src="lectures/LectureFlyer.png"></img>
<!-- <h3 id="limited">Very limited spots for people not currently paying tuition at HPQC College</h3> -->
<h3>This form works best in Google Chrome.<br><br> </h3>
<p style="color:black"><b>If you experience any trouble with the form: <br> Please email [email protected]</b></p>
<div class="registration"> <!--Use this class to change height of the form and any other features of the container-->
<!-- If you want pages to be visible, add the visible class to the page -->
<form id="registerForm" >
<div id="stepRow">
<div id="progress"></div>
<div class="stepCol"><small>Step 1</small></div>
<div class="stepCol"><small>Step 2</small></div>
<div class="stepCol"><small>Step 3</small></div>
<div class="stepCol"><small>Step 4</small></div>
</div>
<!--PAGE 1-->
<div class="page visible" id="part1"> <!--Page styles the divs inside the form with each part id corresponding to an individual page/section-->
<h1>Special Registration for non-members</h1>
<p>Limited space event registration for people not paying tuition at HPQC College</p>
<label id="requiredTxt">* Required</label><br><br/> <!--Use the requiredTxt id for red text-->
<label id="requiredTxt">*</label>
<input type="email" id="email" name="email" placeholder="Email Address" class="required" required oninput="this.className = 'required'">
<br/><br/>
<label id="requiredTxt">*</label>
<input type="text" id="name" name="name" placeholder="First Name" class="required" required oninput="this.className = 'required'">
<br/><br/>
<label id="requiredTxt">*</label>
<input type="text" id="lastName" name="lastName" placeholder="Last Name" class="required" required oninput="this.className = 'required'">
<br/><br/>
<!--
<label>What is your School / Organization</label>
<br/><br/>
<label id="requiredTxt">*</label>
<input type="text" id="school" name="school" placeholder="School/Organization" class="required" required autofocus><br>
<br/>
-->
<div class="form-check form-check-inline"> <!--Classes used to format margins & padding-->
<label id="requiredTxt">*</label>
<label class="form-check-label">Student  Graduated</label> <br>
<input class="inputSpace" type="radio" name="StudentOrGrad" id="student" value="Student"/>
<input class="inputSpace" type="radio" name="StudentOrGrad" id="graduated" value="Graduated"/>
<!--Div toggled when choosing either Student or Graduated - see lectures_tickets.js $('.inputSpace').click function-->
<div id="whenClicked" style="display:none">
<br><label id="listHeader">Current studies:</label><br><br>
<div class="choiceCol"> <!--Width & Centering of the list determined by choiceCol classs-->
<div class="left" style="display: table-cell;">
<label><input class="form-check-input" type="radio" name="level" value="PhD">PhD</label><br>
<label><input class="form-check-input" type="radio" name="level" value="Masters">Masters</label><br>
<label><input class="form-check-input" type="radio" name="level" value="Bachelors">Bachelors</label><br>
<label><input class="form-check-input" type="radio" name="level" value="College">College Diploma</label><br>
</div>
<div class="right" style="display: table-cell;">
<label><input class="form-check-input" type="radio" name="level" value="Secondary">Secondary School</label><br>
<label><input class="form-check-input" type="radio" name="level" value="Middle">Middle School</label><br>
<label><input class="form-check-input" type="radio" name="level" value="Elementary">Elementary/Primary School</label><br>
<label><input class="form-check-input" type="radio" name="level" value="OtherSchool">Other</label>
</div>
<br>
</div>
</div>
<!--Potential Future Additions-->
<div id="ifSecondary" style="display:none">
<label>Grade:</label><br>
<div class="choiceCol">
<div class="form-check form-check-inline">
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade9">Grade 9</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade10">Grade 10</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade11">Grade 11</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade12">Grade 12</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="OtherGrade">Other</label><br>
</div>
</div>
</div>
<div id="ifMiddle" style="display:none">
<label>Grade:</label><br>
<div class="choiceCol">
<div class="form-check form-check-inline">
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade5">Grade 5</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade6">Grade 6</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade7">Grade 7</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade8">Grade 8</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade9">Grade 9</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="OtherGrade">Other</label><br>
</div>
</div>
</div>
<div id="ifMiddle" style="display:none">
<label>Grade:</label><br>
<div class="choiceCol">
<div class="form-check form-check-inline">
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade5">Grade 5</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade6">Grade 6</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade7">Grade 7</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade8">Grade 8</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="Grade9">Grade 9</label><br>
<label><input class="form-check-input" type="radio" name="yearInEducation" value="OtherGrade">Other</label><br>
</div>
</div>
</div>
<!-- Asks user for their graduation year - not currently working if uncommented
<div id="ifGraduated" style="display:none">
<label>Year of graduation:</label><br> <input type='text' id='graduationYear' name='level' oninput="this.className = ''"><br><br/>
</div>
-->
</div>
<!-- <div class="btnBox">
<button type="button" id="next1">Next</button>
</div> -->
</div>
<!--PAGE 2-->
<div class="page options visible" id="part2">
<label><h3><label id="requiredTxt">* </label>Which lectures would you like to attend?</h3></label>
<!--
Individual entries (name) are needed for the checkboxes as multiple entries can be selected at once
When adding, removing, or changing these entries, ensure that the name corresponds to the Google Sheet header and the js in the findElement function below
-->
<div class="form-check form-check-inline">
<input class="form-check-input required" type="checkbox" name="lecture1" id="lecture1" value="Thomas Dimson" disabled style="display:none"/>
<!--For lectures that are finished, display of checkbox is set to none - The entire thing CANNOT be commented as the will mess with the writing to Google Scripts function (will try to write undefined value)-->
<label class="form-check-label" for="inlineCheckbox1">10 February 2021: Thomas Dimson (Instagram)</label>
</div>
<br/>
<div class="form-check form-check-inline">
<input class="form-check-input required" type="checkbox" name="lecture2" id="lecture2" value="Evan Browning" disabled style="display:none"/>
<label class="form-check-label" for="inlineCheckbox1">24 February 2021: Evan Browning (Netflix)</label>
</div>
<br/>
<div class="form-check form-check-inline">
<input class="form-check-input required" type="checkbox" name="lecture3" id="lecture3" value="Brianne Kent" disabled style="display:none"/>
<label class="form-check-label" for="inlineCheckbox1">10 March 2021: Brianne Kent (Simon Fraser University)</label>
</div>
<br/>
<div class="form-check form-check-inline">
<input class="form-check-input required" type="checkbox" name="lecture4" id="lecture4" value="Leonard Zgrablic" disabled style="display:none"/>
<label class="form-check-label" for="inlineCheckbox1">14 April 2021: Leonard Zgrablic (Google)</label>
</div>
<br/>
<div class="form-check form-check-inline">
<input class="form-check-input required" type="checkbox" name="lecture5" id="lecture5" value="Ahmed Omran" disabled style="display:none"/>
<label class="form-check-label" for="inlineCheckbox2">12 May 2021: Ahmed Omran (Google)</label>
</div>
<br/>
<div class="form-check form-check-inline">
<input class="form-check-input required" type="checkbox" name="lecture6" id="lecture6" value="Genevieve Laurier" required/>
<label class="form-check-label" for="inlineCheckbox3">16 June 2021: Genevieve Laurier (Managing Director, The Social Innovation Partnership)</label>
</div>
<br/>
<!-- <div class="btnBox">
<button type="button" id="back1">Back</button>
<button type="button" id="next2">Next</button>
</div> -->
</div>
<!--PAGE 3-->
<div class="page visible" id="part3">
<h3><label><label id="requiredTxt">* </label>How did you hear about this event?</h3></label>
<br/>
<label class='radio'><input class="form-check-input required" type="radio" name="notice" value="School" onClick="regularOption()" id="schoolOption">Email from your school</input></label><br/><br/>
<div id="ifSchool" style="display:none">
<label>Please specify school name:</label><br> <input type='text' id='schoolText' name="noticeText" value="" oninput="this.className = ''"><br>
<br/>
</div>
<label class='radio'><input class="form-check-input required" type="radio" name="notice" value="LinkedIn" onClick="regularOption()">LinkedIn</input></label><br/><br/>
<!--When adding the input field to be revealed on click make sure to add the corresponding code in the tickets.js file under the $('.radio').click function-->
<label class='radio'><input class="form-check-input required" type="radio" name="notice" value="input" onClick="regularOption()" id="discordOption">Discord Channel</input></label><br/><br/>
<div id="ifDiscord" style="display:none">
<label>Please specify which one:</label><br> <input type='text' id='discordText' name="noticeText" value="" oninput="this.className = ''"><br>
<br/>
</div>
<label class='radio'><input class="form-check-input required" type="radio" name="notice" value="input" onClick="regularOption()" id="fbOption">Facebook Group</input></label><br/><br/>
<div id="ifFb" style="display:none">
<label>Please specify which one:</label><br> <input type='text' id='fbText' name="noticeText" value="" oninput="this.className = ''"><br>
<br/>
</div>
<label class='radio'><input class="form-check-input required radio" type="radio" name="notice" value="input" onClick="regularOption()" id="emailOption">Direct invitation</input></label><br/><br/>
<div id="ifEmail" style="display:none">
<label>From whom?</label><br> <input type='text' id='emailText' name="noticeText" value="" oninput="this.className = ''"><br>
<br/>
</div>
<label class='radio' onClick="otherOption()">
<input class="form-check-input required" name="notice" type="radio" id="otherOption" value="input">Other:</input>
<input type ="text" name="noticeText" id="otherText" oninput="this.className = ''"/></label>
<script>
//Functinos for enabling otherOption and setting other input fields to empty when changing selections
function otherOption(){
document.getElementById('otherText').checked=true;
document.getElementById('discordText').value = "";
document.getElementById('fbText').value = "";
document.getElementById('emailText').value = "";
document.getElementById('schoolText').value = "";
}
function regularOption(){
//Clears input fields on radio click
document.getElementById('otherText').value = "";
document.getElementById('discordText').value = "";
document.getElementById('fbText').value = "";
document.getElementById('emailText').value = "";
document.getElementById('schoolText').value = "";
}
</script>
<br/><br/>
<!-- <div class="btnBox">
<button type="button" id="back2">Back</button>
<button type="button" id="next3">Next</button>
</div> -->
</div>
<!--PAGE 4-->
<div class="page visible" id="part4">
<label>If you have and comments or questions, feel free to leave them below:</label>
<br/><br/>
<textarea rows="10" cols="40" name="message" id="message" value="" autofocus></textarea> <!--Change initial size w/ rows and cols tags-->
<br/><br/><br/>
<!-- <div class="btnBox">
<button type="button" id="back3">Back</button>
<button type="submit" id="submit-form">Submit</button>
</div> -->
</div>
<!--PAGE 5 (Currently not added)-->
<div class="page" id="part5">
<!-- <div id="donation"> -->
<h3>For people not currently paying tuition at HPQC College</h3>
<br>
<p style="color:black">
We are asking for a very small donation for you to register. We are a not-for-profit school.<br>
Limited space is available for people from outside the college.
<br>
<br>
Donation requested for individual lectures: 20 Canadian dollars / 16 US dollars.<br>
For three lectures: 50 Canadian Dollars / 40 USD.<br>
<br>
<br>
Donations can be made directly by e-transfer to [email protected], or by the methods available
below.<br>
A small processing fee may be added if using one of the methods below.
</p>
<div id="smart-button-container">
<div id="options">
<select id="item-options" name="item-options">
<!-- WARNING: IF YOU CHANGE ANYTHING HERE, MAKE SURE TO ALSO CHANGE THE HARD-CODED VALUES IN THE .JS FILE -->
<option value="Test" price="2"> <p>Test: $2</p></option>
<option value="1 Lecture" price="21"><p>1 lecture: $20</p></option>
<option value="2 Lectures" price="41"><p>2 lectures: $40</p></option>
<option value="3 Lectures" price="51"><p>3 lectures: $50</p></option>
<!-- WARNING: IF YOU CHANGE ANYTHING HERE, MAKE SURE TO ALSO CHANGE THE HARD-CODED VALUES IN THE .JS FILE -->
</select>
<select style="visibility: hidden" id="quantitySelect"></select>
</div>
<div id="paypal-button-container"></div>
</div>
<script
src="https://www.paypal.com/sdk/js?client-id=Ad6783gW_8HR4Qi8H7EZmje6ZRKZRw2Ji2nsvFl8sHXVsgerwA1NHDnLRpapuKG6ze0yWRmx1ZK0PD3Y¤cy=CAD"
data-sdk-integration-source="button-factory"></script>
<script src="lectures_payment.js"></script>
<!-- </div> -->
</script>
<!-- <div class="btnBox">
<button type="button" id="back4">Back</button>
<button type="submit" id="submit-form">Submit</button>
</div> -->
</div>
<div class="btnBox">
<button type="button" id="backBtn" onclick="nextPrev(-1)">Back</button>
<button type="button" id="nextBtn" onclick="nextPrev(1)">Next</button>
<button type="submit" id="submit-form">Submit</button>
</div>
</form>
<script>
var htmlForm = document.getElementById('registerForm'); //used to detect form submission for afterSubmit function
function afterSubmit(e){
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*IMPORTANT NOTE: WHEN ADDING VARIABLES TO FIND ELEMENT AND INFO ENSURE THAT THERE IS A CORRESPONDING COLUMN IN THE GOOGLE SHEETS*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//Variable declariation for form results
var formArray = $('#registerForm').serializeArray();
//console.log(formArray); If testing needs to be done to check the values of variables in the form
e.preventDefault(); //prevents default submission behaviour
var email = findElement(formArray, "name", "email");
var userName = findElement(formArray, "name", "name");
var lastName = findElement(formArray, "name", "lastName");
var StudentOrGrad = findElement(formArray, "name", "StudentOrGrad");
var level = findElement(formArray, "name", "level");
//var yearInEducation = findElement(formArray, "name", "yearInEducation");
var lecture1 = findElement(formArray, "name", "lecture1");
var lecture2 = findElement(formArray, "name", "lecture2");
var lecture3 = findElement(formArray, "name", "lecture3");
var lecture4 = findElement(formArray, "name", "lecture4");
var lecture5 = findElement(formArray, "name", "lecture5");
var lecture6 = findElement(formArray, "name", "lecture6");
var notice = findElement(formArray, "name", "notice");
var noticeText = findElement(formArray, "name", "noticeText");
var message = findElement(formArray, "name", "message");
/*var idVal = createId().then( value => {
return value
})
*/
//Content passing to Google Sheet
var info = {
email: email.value,
name: userName.value,
lastName: lastName.value,
year: level.value,
StudentOrGrad: StudentOrGrad.value,
//yearInEducation: yearInEducation.value,
lecture1: lecture1.value,
lecture2: lecture2.value,
lecture3: lecture3.value,
lecture4: lecture4.value,
lecture5: lecture5.value,
lecture6: lecture6.value,
notice: notice.value,
noticeText: noticeText.value,
message: message.value,
//id: idVal
};
//Script URL (CHANGE URL IF THE SCRIPT AND SHEET IS MOVED TO A DIFFERENT EMAIL ACCOUNT)
// Matthew Charbonneau: const url = "https://script.google.com/macros/s/AKfycbzDEh0XOAB22Bj3gao18J-AJqxrmKfzYovCdi8Mn8q7itW3TYGuW1u6XQuryTOeQr33VA/exec";
const url = "https://script.google.com/macros/s/AKfycbwe3Ag0O5Er5-2v2VUOS6xdiTB9pSYD9vTTBo4ypqiGRvKxn-w-CQHF2EjV6yCE8kt_/exec";
console.log(info);
fetch(url,{
method: 'POST',
mode: 'no-cors',
cache: 'no-cache',
redirect: 'follow',
body: JSON.stringify(info) //What gets sent to the sheet
})
htmlForm.reset(); //Clears all entries in the form
resetForm(); //Set form page back to 0
revealEndScreen(); //Toggles form end screen (Thank you for registering...)
}
//Function returns the value of the corresponding form entry
function findElement(arr, propName, propValue) {
//Looping through each element in array created from serialized form
for (var i=0; i < arr.length; i++){
if(arr[i] == undefined)
return "";
else if (arr[i][propName] == propValue){
//Checking if there is a specific entry under other option
if(arr[i][propName] == "notice" && arr[i].value == "input"){
for (var j=0; j < arr.length; j++){
console.log(arr[j]);
if(arr[j][propName] == "other" && arr[j].value != "")
return arr[j];
}
}
//Return default value for corresponding option if other option is not filled in
else
return arr[i];
}
}
return ""; //Default sheet entry if none of the above are true
}
htmlForm.addEventListener("submit", afterSubmit); //Runs afterSubmit function once htmlForm is submitted
/* Alternative API used with apispreadsheets (only allows for 50 uses/day and 1500 slots total)
function SubForm (){
$.ajax({
url:'url needed here but account must be made in api spreadsheets',
type:'post',
data:$("#registerForm").serializeArray(),
success: function(){
},
error: function(){
}
});
}*/
</script>
<!--Progress bar on top of form-->
<!-- <div class="stepRow">
<div id="progress"></div>
<div class="stepCol"><small>Step 1</small></div>
<div class="stepCol"><small>Step 2</small></div>
<div class="stepCol"><small>Step 3</small></div>
<div class="stepCol"><small>Step 4</small></div>
<!--NOTE: If a step is added the js will have to be altered by how much the bar moves on each click (currently 25%)-->
</div> -->
</div>
<br><br><br>
<!--ORIGINAL GOOGLE FORM USED FOR REGISTRATION / DONATION-->
<!-- Form that asks for donation -->
<!-- <iframe src="https://docs.google.com/forms/d/e/1FAIpQLSfKlkhsk89Cj3o7TBjvPW1QTI7dqs1wegDfyAZgtdFzds0LEQ/viewform?embedded=true" width="100%" height="1000" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe> -->
<!-- Form that does not ask for donation -->
<!--
<iframe
src="https://docs.google.com/forms/d/e/1FAIpQLSfGKvrTj2M-6EKL5OphMDSGXFrD4UrljaOqb0Glsp4udxvwlQ/viewform?embedded=true"
width="100%" height="1000" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>
-->
</div>
<!--Html for the donation form & buttons for online payment-->
<!-- <div id="donation">
<h3>For people not currently paying tuition at HPQC College, please make a small donation to
register.</h3>
<h3>Limited space is available for people from outside the college.</h3>
<br>
<br>
<p style="color:black">Donation amount for individual lectures: <var
id="currency1txt">$35</var>.<br>
For the whole series: <var id="currency5txt">$115</var> .<br>
Donations can be made directly by e-transfer to [email protected], or by the methods available
below.<br>
A small processing fee may be added if using one of the methods below.</p>
<div id="smart-button-container">
<div id="options">
<select id="item-options" name="item-options">
<option value="1 Lecture" price="21"><p id='1'>1 lecture: $20</p></option>
<option value="2 Lectures" price="41"><p id='2'>2 lectures: $40</p></option>
<option value="3 Lectures" price="51"><p id='3'>3 lectures: $50</p></option>
</select>
<select style="visibility: hidden" id="quantitySelect"></select>
</div>
<div id="paypal-button-container"></div>
</div>
<script
src="https://www.paypal.com/sdk/js?client-id=Ad6783gW_8HR4Qi8H7EZmje6ZRKZRw2Ji2nsvFl8sHXVsgerwA1NHDnLRpapuKG6ze0yWRmx1ZK0PD3Y¤cy=CAD"
data-sdk-integration-source="button-factory"></script>
</div>-->
</div>
</div>
<div id="copyright" class="container" , style="background:#79C255" ;>
<p>© HPQC Labs. All rights reserved. </p>
</div>
<script type="text/javascript" src="main.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="AOS\aos.js"></script>
<script>
AOS.init();
</script>
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/[email protected]/slick/slick.min.js"></script>
<script src="lectures_tickets.js"></script>
</body>
</html>