I have the following questions about Kendo validation:
- When you mark a given control with the required attribute, is it possible to indicate that a string value of all spaces is not valid?
- Is it possible to specify the min and max length a text box value?
-
1 Answer, 1 is accepted
0
Alexander Valchev
Telerik team
answered on 21 Dec 2012, 01:18 PM
Hi Brian,
By default the build-in HTML validator validates space in required inputs of type text (example), which is the reason why Kendo validator do the same.
If you want to avoid that my recommendation is to use a regex pattern or custom validation rule. The same applies for the min/max length of text boxes.
Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!