← iGuider Demos /

# steps.checkPrev

Function in which you can carry out any verification by clicking on the "Prev" button.
If the function returns True, the step will be switched.
If the function returns "False", an error message will appear in the message window

In this example, try pressing the "Prev" button with a filled field and with an empty

To prevent the possibility to skip a step, use also:
keyboard:false
and
tourMap.clickable:false

Start Tour

## Source