"Socio Professionista Form Wizard"
Bootstrap 3.3.0 Snippet by robertox85

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!-- Special version of Bootstrap that only affects content wrapped in .bootstrap-iso -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.15.0/jquery.validate.min.js"></script>
<script src="https://cdn.rawgit.com/artoodetoo/formToWizard/v0.0.4/jquery.formtowizard.js"></script>
<!-- HTML Form (wrapped in a .bootstrap-iso div) -->
<div class="">
<div class="container-fluid">
<div class="row">
<div class="col-md-6 col-sm-6 col-md-offset-3 col-xs-12">
<h1>Socio Professionista</h1>
<div id='progress'><div id='progress-complete'></div></div>
<form method="post" id="msform">
<fieldset>
<legend>Informazioni Generali</legend>
<div class="form-group ">
<label class="control-label " for="name1">
Nome
</label>
<input class="form-control" id="name1" name="name1" type="text"/>
</div>
<div class="form-group ">
<label class="control-label " for="name1">
Cognome
</label>
<input class="form-control" id="name1" name="name1" type="text"/>
</div>
<div class="form-group ">
<label class="control-label " for="date">
Data di nascita
</label>
<input class="form-control" id="date" name="date" placeholder="MM/DD/YYYY" type="text"/>
<span class="help-block" id="hint_date">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#progress { position: relative; height: 5px; background-color: #eee; margin-bottom: 20px; }
#progress-complete { border: 0; position: absolute; height: 5px; min-width: 10px; background-color: #337ab7; transition: width .2s ease-in-out; }
.commands { overflow: hidden; margin-top: 30px; }
.prev {float:left}
.next, .submit,.btn-success {float:right}
fieldset {
border: 1px groove #ddd !important;
padding: 0 1.4em 1.4em 1.4em !important;
margin: 0 0 1.5em 0 !important;
-webkit-box-shadow: 0px 0px 0px 0px #000;
box-shadow: 0px 0px 0px 0px #000;
}
legend {
font-size: 1.2em !important;
font-weight: bold !important;
text-align: left !important;
width:auto;
padding:0 10px;
border-bottom:none;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
$("#msform").formToWizard({
submitButton: 'submit' ,
nextBtnName: 'Avanti >>',
prevBtnName: '<< Indietro',
nextBtnClass: 'btn btn-primary next',
prevBtnClass: 'btn btn-default prev',
buttonTag: 'button',
progress: function (i, count) {
$("#progress-complete").width(''+(i/count*100)+'%');
}
})
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: