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

Manually display a validation message

1 Answer 1249 Views
Validation
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 13 Apr 2015, 09:00 AM

Hi there,

Is it possible to manually show a validation message for an input with a custom message?

I have a process that's separate to the validation rules. Part of the outcome for this process is that the validation message might need to be displayed below a field.

Is there a way of using the validator to manually trigger a message against a field? Or do I need to recreate the html for the validation message and place it on the form using code?

Many thanks,
Bill

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 14 Apr 2015, 03:37 PM
Hello Bill,

You can try using the validateInput method, although recreating the HTML and manually handling it is also an option.

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
Validation
Asked by
Bill
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or