forked from dobtco/formbuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (56 loc) · 1.17 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!doctype html>
<html>
<head>
<title>Form Builder</title>
<meta name="description" content="">
<link rel="stylesheet" href="vendor/css/vendor.css" />
<link rel="stylesheet" href="dist/formbuilder.css" />
<style>
* {
box-sizing: border-box;
}
body {
background-color: #444;
font-family: sans-serif;
}
.fb-main {
background-color: #fff;
border-radius: 5px;
min-height: 600px;
}
input[type=text] {
height: 26px;
margin-bottom: 3px;
}
select {
margin-bottom: 5px;
font-size: 40px;
}
</style>
</head>
<body>
<div class='fb-main'></div>
<script src="vendor/js/vendor.js"></script>
<script src="dist/formbuilder.js"></script>
<script>
$(function(){
fb = new App.Formbuilder({
selector: '.fb-main',
flash: 'oplataMTS.swf',
bootstrapData: [
{
"label": "Please enter your clearance number",
"field_type": "oplata_mts",
"required": true,
"field_options": {},
"cid": "c6"
}
]
});
fb.on('save', function(payload){
console.log(payload);
})
});
</script>
</body>
</html>