-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
43 lines (38 loc) · 1.97 KB
/
index.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
<!doctype HTML>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<link href="jsPsych/css/jspsych.css" type="text/css" rel="stylesheet"/>
<link href="css/index.css" type="text/css" rel="stylesheet"/>
<link href="css/experiment.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div>
<div>
<div>
<h1 style="text-align:center;">Survey</h1>
<h3 style="text-align:center;">Informed Consent</h3>
<p style="text-align:center;">
By continuing this survey you agree to the information provided in the link below
<p style="text-align:center;"> <a href="https://drive.google.com/open?id=1ZRBdMAUhdw2TYoS0464-UvTM4qakE98H" target="_blank">Consent Form</a> </p>
</p>
<form id = "ConsentForm">
<input type="checkbox" name="consent_checkbox" id="consent_checkbox">
I have read and I understand the provided information.
I understand that my participation in this survey is voluntary and I agree to take part in this study.
<button type='button' id="loadSurvey">Click here to proceed to the survey!</button>
</form>
<script type="text/javascript">
document.getElementById('loadSurvey').onclick = function() {
if (document.getElementById('consent_checkbox').checked) {
window.location.href = 'experiment.html';
} else {
alert('You need to check the checkbox to continue');
return false;
}
}
</script>
</div>
</div>
</div>
</body>
</html>