Search.../

getStepNumber( )

Gets the current step number of a Wix Form. Counting starts from 1.

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

Syntax

function getStepNumber(): number

getStepNumber Parameters

This function does not take any parameters.

Returns

Return Type:

number

Was this helpful?

Get the current step number

Copy Code
1const currentStepNumber = $w('#form').getStepNumber(); // Resolves to: 8