Smart Wizard is jquery step wizard best plugin. this is step by step html form example. this is step by step form in jquery usign Smart Wizard plugin. you can give information step by step in bootstrap 4 and html. this is use for step registration form in php,java,angular,laravel,coordinator.

We allows to free snippets of step by step form javascript , you can download full code of step by step form in jquery layout. Here in this post i will give you example of step by step form in bootstrap snippet and you will get simple code of html, css and jquery. In smartwizard 4 demo snippet i give you three tab with html, css and js, you can easily get code of jquery smart wizard step validation layout.


<!doctype html> <html lang="en"> <head> <title>Smart Wizard plugin</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"> </head> <body> <div class="container main-section"> <div id="smartwizard"> <ul> <li><a href="#step-1">Step 1<br /><small>This is step description</small></a></li> <li><a href="#step-2">Step 2<br /><small>This is step description</small></a></li> <li><a href="#step-3">Step 3<br /><small>This is step description</small></a></li> <li><a href="#step-4">Step 4<br /><small>This is step description</small></a></li> </ul> <div> <div id="step-1"> <h3 class="border-bottom border-gray pb-2">Step 1 Content</h3> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div> <div id="step-2"> <h3 class="border-bottom border-gray pb-2">Step 2 Content</h3> <div>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div> </div> <div id="step-3"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div> <div id="step-4"> <h3 class="border-bottom border-gray pb-2">Step 4 Content</h3> <div class="card"> <div class="card-header">My Details</div> <div class="card-block p-0"> <table class="table"> <tbody> <tr> <th>Name:</th> <td>Tom Cook</td> </tr> <tr> <th>Email:</th> <td>abc13@gmail.com</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> <script type="text/javascript" src="//nicesnippets.com/demo/jquery.smartWizard.min.js"></script> </body> </html>
body{ background-color: #FFE783; } .main-section{ margin-top: 120px; } .nav-tabs{ background-color: #F26A44; color:#fff !important; } .sw-theme-default .step-content { padding: 10px; border: 0px solid #D4D4D4; background-color: #FFF; text-align: left; } .sw-theme-default .sw-toolbar { background: #f9f9f9; border-radius: 0 !important; padding-left: 10px; padding-right: 10px; padding: 10px; margin-bottom: 0 !important; } .sw-theme-default .sw-toolbar-top { border-bottom-color: #ddd !important; } .sw-theme-default .sw-toolbar-bottom { border-top-color: #ddd !important; } .sw-theme-default > ul.step-anchor > li { position: relative; margin-right: 2px; } .sw-theme-default > ul.step-anchor > li > a, .sw-theme-default > ul.step-anchor > li > a:hover { border: none !important; color: #bbb; text-decoration: none; outline-style: none; background: transparent !important; border: none !important; cursor: not-allowed; } .sw-theme-default > ul.step-anchor > li.clickable > a:hover { color: #4285F4 !important; background: transparent !important; cursor: pointer; } .sw-theme-default > ul.step-anchor > li.active > a { border: none !important; color: #fff !important; background: transparent !important; cursor: pointer; } .sw-theme-default > ul.step-anchor > li.active > a::after { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } .sw-theme-default > ul.step-anchor > li.done > a { border: none !important; color: #000 !important; background: transparent !important; cursor: pointer; } .sw-theme-default > ul.step-anchor > li.done > a::after { background: #5cb85c; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } .sw-theme-default > ul.step-anchor > li.danger > a { border: none !important; color: #d9534f !important; cursor: pointer; } .sw-theme-default > ul.step-anchor > li.danger > a::after { background: #d9534f; border-left-color: #f8d7da; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } .sw-theme-default > ul.step-anchor > li.disabled > a, .sw-theme-default > ul.step-anchor > li.disabled > a:hover { color: #eee !important; cursor: not-allowed; } @media screen and (max-width: 768px) { .sw-theme-default > .nav-tabs > li { float: none !important; } } .sw-loading::after { position: absolute; display: block; opacity: 1; content: ""; top: 0; left: 0; height: 100%; width: 100%; background: rgba(255,255,255,.7); -webkit-transition: all .2s ease; transition: all .2s ease; z-index: 2; } .sw-loading::before { content: ''; display: inline-block; position: absolute; top: 50%; left: 50%; z-index: 10; border: 10px solid #f3f3f3; border-radius: 50%; border-top: 10px solid #3498db; width: 80px; height: 80px; margin-top: -40px; margin-left: -40px; -webkit-animation: spin 1s linear infinite; animation: spin 1s linear infinite; }
$(document).ready(function(){ $("#smartwizard").on("showStep", function(e, anchorObject, stepNumber, stepDirection, stepPosition) { if(stepPosition === 'first'){ $("#prev-btn").addClass('disabled'); }else if(stepPosition === 'final'){ $("#next-btn").addClass('disabled'); }else{ $("#prev-btn").removeClass('disabled'); $("#next-btn").removeClass('disabled'); } }); var btnFinish = $('<button></button>').text('Finish') .addClass('btn btn-info') .on('click', function(){ alert('Finish Clicked'); }); var btnCancel = $('<button></button>').text('Cancel') .addClass('btn btn-danger') .on('click', function(){ $('#smartwizard').smartWizard("reset"); }); $('#smartwizard').smartWizard({ selected: 0, theme: 'default', transitionEffect:'fade', showStepURLhash: true, toolbarSettings: {toolbarPosition: 'both', toolbarButtonPosition: 'end', toolbarExtraButtons: [btnFinish, btnCancel] } }); $("#reset-btn").on("click", function() { $('#smartwizard').smartWizard("reset"); return true; }); $("#prev-btn").on("click", function() { $('#smartwizard').smartWizard("prev"); return true; }); $("#next-btn").on("click", function() { $('#smartwizard').smartWizard("next"); return true; }); $("#theme_selector").on("change", function() { $('#smartwizard').smartWizard("theme", $(this).val()); return true; }); $("#theme_selector").change(); });

Please Subscribe Your Email Address, We Will Notify You When Add New Snippet:





Random Post


Random Blog