-
Notifications
You must be signed in to change notification settings - Fork 0
/
survey.html
48 lines (48 loc) · 1.74 KB
/
survey.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
<!-- https://stackoverflow.com/questions/52066172/import-slider-values-from-a-html-form-to-flask-application
-->
<html>
<head>
<title>Survey</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="static/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
<form method="POST", action = "/survey-add">
<p>Name: <input type="text" name="name"></p>
<p>UNI: <input type="text" name="uni"></p>
<p>Major: <input type="text" name="major"></p>
<p>Year: <select name="year">
<option>freshman</option>.
<option>sophomore</option>
<option>junior</option>
<option>senior</option>
</select></p>
<div class="slidecontainer" id="slide_container_f">
<p>Social:<span id="demo"></span></p>
<input type="range" min=1 max=100 class="slider"
id="myRange" name="social">
</div>
<div class="slidecontainer" id="slide_container_f">
<p>Professional:<span id="demo"></span></p>
<input type="range" min=1 max=100 class="slider"
id="myRange" name="professional">
</div>
<div class="slidecontainer" id="slide_container_f">
<p>Educational:<span id="demo"></span></p>
<input type="range" min=1 max=100 class="slider"
id="myRange" name="educational">
</div>
<div class="slidecontainer" id="slide_container_f">
<p>Relaxing:<span id="demo"></span></p>
<input type="range" min=1 max=100 class="slider"
id="myRange" name="relaxing">
</div>
<div class="slidecontainer" id="slide_container_f">
<p>Athletic:<span id="demo"></span></p>
<input type="range" min=1 max=100 class="slider"
id="myRange" name="athletic">
</div>
<input type="submit" value="Submit">
</form>
</body>
</html>