setValid

Sets the valid(error) state of the Step.

Parameters

value Boolean

Specifies whether the state should be valid (true) or not (false).

Example

<div id="stepper"></div>
<script>
$("#stepper").kendoStepper({
    steps: [
        { label: "Step 1" },
        { label: "Step 2" },
        { label: "Step 3" }
    ]
});

var stepper = $("#stepper").data("kendoStepper");
var step = stepper.steps()[0];

// Set step as invalid (error state)
step.setValid(false);
</script>
In this article
setValid
Not finding the help you need?
Contact Support