Is there build-in functions to validate integer vs decimal? Date format? Or do I need to use regular expression?
What about comparing 2 strings (equalTo)?
Thank you~
1 Answer, 1 is accepted
0
Rosen
Telerik team
answered on 10 Apr 2012, 04:50 PM
Hi Helen,
Straight to your questions:
1. I'm afraid there is not such built-in function. You may use either the built-in pattern rule (specifying the required regular expression) or a custom rule.
2. Indeed there is date format validation rule:
<input type="date" data-format="d"/>
3. Here you should also use custom validation rule.
More information about custom validation rules can be found here.
Greetings,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!