Search.../

getStepCount( )

Gets the total number of steps in a Wix Form.

Note: The WixFormsV2 element is only available in Wix Studio and Editor X.

Syntax

function getStepCount(): number

getStepCount Parameters

This function does not take any parameters.

Returns

Return Type:

number

Was this helpful?

Get the total number of steps

Copy Code
1const totalSteps = $w('#form').getStepCount(); // Resolves to: 2