Under Review
Last Updated: 25 Jul 2017 14:20 by Telerik Admin
Ä m o l
Created on: 11 May 2012 11:29
Category: Kendo UI for jQuery
Type: Feature Request
12
need validators for compare, password length check, password complexity check, RangeValidator, ValidationSummary
Please add the following things in Kendo UI
validators for compare, password length check, password complexity check, RangeValidator, ValidationSummary
4 comments
Imported User
Posted on: 25 Jul 2017 14:20
Four years later and this is still not supported?
Stacey
Posted on: 15 Sep 2013 17:50
I agree. This isn't acceptable. 
Vince
Posted on: 13 Aug 2012 22:25
So you think this is acceptable:


$("#myform").kendoValidator({
     rules: {
         custom: function(input) {
             // Only "Tom" will be a valid value for the FirstName input
             return input.is("[name=firstname]") && input.val() === "Tom";
         }
     }
});

First off, wouldn't that mean that every field that's not named "firstname" will be seen as invalid? Also, this is a bad copout. I mean, look at wijmo's:

$('#ConfirmPassword').rules("add", { equalTo: "#Password", messages: { equalTo: "Passwords must match." } });

That's a lot easier. And Wijmo didn't say "these are application-specific" and can be accomplished "easily" by jumping through ridiculous hoops in non-intuitive manners. ALL of these should be strongly considered for inclusion. Great suggestions, Amol.
ADMIN
Brandon
Posted on: 11 May 2012 20:00
Compare and password validators are application-specific and can be accomplished easily with custom validation rules: http://www.kendoui.com/documentation/framework/validator/overview.aspx. 

The rangevalidator and summary sound interesting. We'll take a look at the feasibility of adding these.