This is a migrated thread and some comments may be shown as answers.

Kendo Validator for JSP tags

3 Answers 97 Views
General Disccussions
This is a migrated thread and some comments may be shown as answers.
Anshuman
Top achievements
Rank 1
Anshuman asked on 13 Apr 2016, 10:14 PM

Hi,

I was referring the  Kendo Validator Usage, it has shown the examples for HTML, ASP.NET,  i could not find the examples for JSP tags, how can we add "required" and also custom rules for the <kendo:dropDownList>, <kendo:datePicker>? Can you please share some Kendo validator examples using JSP tags.

3 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 18 Apr 2016, 08:50 AM
Hi,

I've checked the source code of the JSP Taglib and can't find means to set the required attribute.
I'll forward this as a bug report to the responsible developers.

Apologies for the caused inconvenience.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Anshuman
Top achievements
Rank 1
answered on 19 Apr 2016, 05:25 PM

Hi Tsonev,

Thank you for looking in to the issue, Kendo jsp tags are taking "required" attribute and also custom validation message, I tried the below and when i use kendoValidator's validate method it is working fine.

<c:cdatePicker name="userName"  value="" parseFormats="MM/dd/yyyy" format="MM/dd/yyyy" required data-required-msg="User Name Required" />     

0
T. Tsonev
Telerik team
answered on 21 Apr 2016, 03:11 PM
Hi,

Glad to hear that. I must've missed something in my tests.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Disccussions
Asked by
Anshuman
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Anshuman
Top achievements
Rank 1
Share this question
or