/*! * stack-admin-theme (https://pixinvent.com/bootstrap-admin-template/stack) * Copyright 2018 PIXINVENT * Licensed under the Themeforest Standard Licenses */ $(".number-tab-steps").steps({headerTag:"h6",bodyTag:"fieldset",transitionEffect:"fade",titleTemplate:'#index# #title#',labels:{finish:"Submit"},onFinished:function(event,currentIndex){alert("Form submitted.")}}),$(".icons-tab-steps").steps({headerTag:"h6",bodyTag:"fieldset",transitionEffect:"fade",titleTemplate:'#index# #title#',labels:{finish:"Submit"},onFinished:function(event,currentIndex){alert("Form submitted.")}}),$(".vertical-tab-steps").steps({headerTag:"h6",bodyTag:"fieldset",transitionEffect:"fade",stepsOrientation:"vertical",titleTemplate:'#index# #title#',labels:{finish:"Submit"},onFinished:function(event,currentIndex){alert("Form submitted.")}});var form=$(".steps-validation").show();$(".steps-validation").steps({headerTag:"h6",bodyTag:"fieldset",transitionEffect:"fade",titleTemplate:'#index# #title#',labels:{finish:"Submit"},onStepChanging:function(event,currentIndex,newIndex){return currentIndex>newIndex||!(3===newIndex&&Number($("#age-2").val())<18)&&(currentIndex