-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquestionnaire-pre.html
More file actions
executable file
·162 lines (150 loc) · 7.39 KB
/
questionnaire-pre.html
File metadata and controls
executable file
·162 lines (150 loc) · 7.39 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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>CS4249 Assignment 1</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/vendor/modernizr-2.8.3.min.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<nav class="navbar navbar-default">
<div class="container">
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Welcome</a></li>
<li class="active"><a href="questionnaire-pre.html">Pre Questionnaire</a></li>
<li><a href="instructions.html">Instructions</a></li>
<li><a href="experiment.html">Experiment</a></li>
<li><a href="questionnaire-post.html">Post Questionnaire</a></li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h1>Pre-Experiment Questionnaire</h1>
<hr>
<p>Hi <span class="js-pid pid"></span>, could you please tell us more about yourself?</p>
<form id="pre-expt-form">
<div class="form-group">
<label for="q1">1. How old are you this year?</label>
<input type="text" class="form-control" id="q1" name="q1" placeholder="Enter your age">
</div>
<div class="form-group">
<label for="q2">2. What is your gender?</label>
<div class="radio">
<label>
<input type="radio" name="q2" id="optionsRadios1" value="Male">
Male
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="q2" id="optionsRadios2" value="Female">
Female
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="q2" id="optionsRadios3" value="Undefined">
Undefined
</label>
</div>
</div>
<div class="form-group">
<label for="q3">3. What is your major?</label>
<input type="text" class="form-control" id="q3" name="q3" placeholder="Enter your name">
</div>
<div class="form-group">
<label for="q4">4. What year of study are you in?</label>
<div class="radio">
<label>
<input type="radio" name="q4" id="optionsRadios1" value="Year1">
Year1
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="q4" id="optionsRadios2" value="Year2">
Year2
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="q4" id="optionsRadios3" value="Year3">
Year3
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="q4" id="optionsRadios4" value="Year4">
Year4
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="q4" id="optionsRadios5" value="Year5">
Year5
</label>
</div>
</div>
<div class="form-group">
<label for="q6">6. How often do you use Cmd+V, Cmd+C to copy and paste text?</label>
<div class="radio">
<label>
<input type="radio" name="q6" value="More than once a day">
More than once a day
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="q6" value="Once a day">
Once a day
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="q6" value="Once a week">
Once a month
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="q6" value="Never">
Never
</label>
</div>
</div>
<button type="submit" class="btn btn-primary btn-lg">Submit</button>
</form>
</div>
</div>
</div>
<script src="js/vendor/jquery-1.11.2.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/DataStorage.js"></script>
<script src="js/ACPToolKit.js"></script>
<script src="js/main.js"></script>
<script>
$(function () {
$('#pre-expt-form').submit(function (event) {
event.preventDefault();
var formResponses = $(this).serializeArray();
// Do your own form validation here.
ACPToolKit.downloadFormData(formResponses, 'pre');
window.location = 'instructions.html';
});
});
</script>
</body>
</html>