-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquestions.php
More file actions
79 lines (73 loc) · 2.62 KB
/
Copy pathquestions.php
File metadata and controls
79 lines (73 loc) · 2.62 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
<?php
include 'header.php';
?>
<!DOCTYPE html>
<html>
<head>
<title></title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h2>General Questions</h2>
<form action="./end.php" method="get">
<p>Do you think it is useful to extract tips for APIs?</p>
<div class="radio">
<label><input type="radio" name="q1" value=1>Agree</label>
</div>
<div class="radio">
<label><input type="radio" name="q1" value=0>Disagree</label>
</div>
<!-- <p>Do you think the extracted tips from our approach are useful to you?</p>
<div class="radio">
<label><input type="radio" name="q2" value=1>Agree</label>
</div>
<div class="radio">
<label><input type="radio" name="q2" value=0>Disagree</label>
</div> -->
<!-- <p>If no to 2, do you think they are useful to novice developers?</p>
<div class="radio">
<label><input type="radio" name="q3" value=1>Agree</label>
</div>
<div class="radio">
<label><input type="radio" name="q3" value=0>Disagree</label>
</div> -->
<p>Do you think the extracted tips from our approach are useful to you?</p >
<div class="radio">
<label><input type="radio" name="q2" value=1 onchange="showThree(false)">Agree</label>
</div>
<div class="radio">
<label><input type="radio" name="q2" value=0 onchange="showThree(true)">Disagree</label>
</div>
<div id="three" hidden="true">
<p>If no to 2, do you think they are useful to novice developers?</p >
<div class="radio">
<label><input type="radio" name="q3" value=1>Agree</label>
</div>
<div class="radio">
<label><input type="radio" name="q3" value=0>Disagree</label>
</div>
</div>
<p>Do you think our approach can outperform the baseline?</p>
<div class="radio">
<label><input type="radio" name="q4" value=1>Agree</label>
</div>
<div class="radio">
<label><input type="radio" name="q4" value=0>Disagree</label>
</div>
<p>Do you have any recommendation/comments/thoughts?</p>
<div class="form-group">
<textarea class="form-control" rows="5" name="q5"></textarea>
</div>
<input type="hidden" name="issubmit" value="<?php echo 1?>">
<button type="submit">Submit</button>
</form>
</div>
<script type="application/x-javascript">
function showThree(show) {
var three = document.getElementById("three");
three.hidden = !show;
}
</script>
</body>
</html>