state Returns the state of the wizard

state

This method returns the state of the wizard. The data returned is the following:

example method call

$("#demoForm").formwizard("state");

example data

{
	"settings" : {
		historyEnabled	: false,
		validationEnabled : false,
		validationOptions : undefined,
		formPluginEnabled : false,
		linkClass	: ".link",
		submitStepClass : "submit_step",
		back : ":reset",
		next : ":submit",
		textSubmit : 'Submit',
		textNext : 'Next',
		textBack : 'Back',
		remoteAjax : undefined, 
		inAnimation : {opacity: 'show'},
		outAnimation: {opacity: 'hide'},
		inDuration : 400,
		outDuration: 400,
		easing: 'swing',
		focusFirstInput : false,
		disableInputFields : true,
		formOptions : { reset: true, 
				success: function(data) { alert("success"); } 	
	},
	"activatedSteps" : ['firstStep','secondStep','thirdStep'],
	"isLastStep" : true,
	"isFirstStep" : false,
	"previousStep" : 'secondStep',
	"currentStep" : 'thirdStep',
	"backButton" : Object,
	"nextButton" : Object,
	"steps" : Object,
	"firstStep" : 'firstStep'
}
		
show Shows a specified step in the wizard

show

This method takes care of showing a specified step in the wizard.

Parameters

example method call

$("#demoForm").formwizard("show","firstStep");
reset Resets the wizard

reset

This method takes care of resetting the wizard.

example method call

$("#demoForm").formwizard("reset");
destroy Removes the wizard functionality

destroy

This method takes care of removing the wizard functionality from the form.

example method call

$("#demoForm").formwizard("destroy");
back Triggers back navigation in the wizard

back

This method triggers the wizard to move back.

example method call

$("#demoForm").formwizard("back");
next Triggers forward navigation in the wizard

next

This method triggers the wizard to move to the next step.

example method call

$("#demoForm").formwizard("next");
update_steps Triggers the wizard to update the cached steps

update_steps

This method triggers the wizard to check the form for available steps, and cache them.

example method call

$("#demoForm").formwizard("update_steps");