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

Change the default validation message for a grid column

1 Answer 393 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 16 Jul 2014, 11:54 AM
Hi, I have a grid column with a custom editor (standard html select), on which i have set the 'required' attribute.
When i try to save the row, a validation message is shown (cool), but it uses the field name, not title (uncool - the title is the user interface).

How can i get a custom message in (for required field), or make it use the title?

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander Popov
Telerik team
answered on 18 Jul 2014, 07:00 AM
Hi Tom,

Specifying a custom message could be done by adding a "data-required-msg" attribute to the input element used by the editor, as shown in this example.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Tom
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or