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

Validator requires name attribute

1 Answer 32 Views
Validation
This is a migrated thread and some comments may be shown as answers.
Scott Waye
Top achievements
Rank 1
Veteran
Scott Waye asked on 21 Jan 2017, 02:21 PM

Hi, following on from http://www.telerik.com/forums/why-is-the-span-position-static#NeKbtFbNzUGLtgZqX1kKmg

I notice that if the name attribute is removed, for example, http://dojo.telerik.com/IyoVU/5 then the tooltip is again disappearing.  Does the validation require that elements have the name attribute? 

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 24 Jan 2017, 02:15 PM
Hello Scott,

You are correct that the name attribute is required for the validation messages to work. This is outlined in the important section at:

http://docs.telerik.com/kendo-ui/controls/editors/validator/overview#definition-of-custom-error-messages

Kind Regards,
Alex Hajigeorgieva
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
Tags
Validation
Asked by
Scott Waye
Top achievements
Rank 1
Veteran
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or