Wizard navigation and validation

1 Answer 566 Views
Form Validation Wizard
n/a
Top achievements
Rank 1
Veteran
n/a asked on 20 Aug 2021, 11:03 AM

Hello!

Kendo Wizard always validates the step forms when navigating between them, even if you press "Previous".

This can be seen in the official sample here:

https://demos.telerik.com/kendo-ui/wizard/index

If you are on Step 2 and press "Previous", you are required to input all data before going back to Step 1.

How can I change this? I want to validate the current step form content only if you press "Next", and allow the user to go back without inserting data if he presses "Previous".

Thanks!

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 24 Aug 2021, 08:49 PM

Hello Craig,

The Kendo UI Wizard has the validateForms.validateOnPrevious configuration which the previous button will trigger validation.  Please take a look at this Progress Kendo UI Dojo which demonstrates the form validating only on the next and done buttons.

Regards,
Patrick
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Form Validation Wizard
Asked by
n/a
Top achievements
Rank 1
Veteran
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or