-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
72 lines (65 loc) · 1.96 KB
/
index.html
File metadata and controls
72 lines (65 loc) · 1.96 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
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Checkform - easy check form</title>
<style>
.errInput { background: red; }
label.errInput { color: red; background: none; }
</style>
</head>
<body>
<div id="site">
<form action="" id="kontroluj">
<table>
<tr>
<td style="width: 100px;">Meno</td>
<td><input id="meno-id" type="text" data-check="true" data-msg="chyba meno" name="meno"></td>
</tr>
<tr>
<td style="width: 100px;">Priezvisko</td>
<td><input type="text" data-check="true" data-msg="chyba priezvysko" name="priezvisko"></td>
</tr>
<tr>
<td>Telefon</td>
<td><input name="telefon" data-check="^[0-9]+$" type="text"></td>
</tr>
<tr>
<td>E-mail</td>
<td><input name="email" data-check="email" data-msg="chyba mail" type="text"></td>
</tr>
<tr>
<td>Data group</td>
<td data-group='{ "min": "2", "check": "all" }'>
<input type="checkbox" name="chc1"> Checked 1 <br>
<input type="checkbox" name="chc2"> Checked 2 <br>
<input type="checkbox" data-check="true" name="chc3"> Checked 3 <br>
<input type="checkbox" data-check="true" name="chc4"> Checked 4 <br>
</td>
</tr>
<tr>
<td>Normal group</td>
<td>
<input id="chc5" type="checkbox" name="chc5" data-check="true"> <label for="chc5">Checked 5</label> <br>
<input id="chc6" type="checkbox" name="chc6"> <label for="chc6">Checked 6</label> <br>
</td>
</tr>
<tr>
<td></td>
<td>line break</td>
</tr>
<tr>
<td>Sprava</td>
<td><textarea name="sprava" data-check="true" cols="30" rows="10"></textarea></td>
</tr>
<tr>
<td></td>
<td><input type="submit"></td>
</tr>
</table>
</form>
</div>
<script src="js/jquery-2.0.3.min.js"></script>
<script src="js/checkform-1.5.0.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>