Manually display a validation message

2 posts, 0 answers
  1. Bill
    Bill avatar
    7 posts
    Member since:
    Jun 2013

    Posted 13 Apr 2015 Link to this post

    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,

  2. Alexander Popov
    Alexander Popov avatar
    1411 posts

    Posted 14 Apr 2015 Link to this post

    Hello Bill,

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

    Alexander Popov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top