Completed
Last Updated: 23 Jan 2020 09:43 by ADMIN
Kevin
Created on: 21 Mar 2012 12:28
Category: Kendo UI for jQuery
Type: Feature Request
22
Allow validator error messages to be reset from the api
I use a common form to bind data objects to. I also perform validation on this form. If I validate the form through a submit and it fails (validate() returns false), I close the window and then rebind with the same or a different object (from a grid or some datasource). When the window comes back up, the validator messages are still there from the last failed submit. I need a way to clear them. I could call validate on the rebind, but I want to clear them, not reevaluate them (as there could be some that come up...especially when adding a new item with no data in it).
2 comments
ADMIN
Dimo
Posted on: 23 Jan 2020 09:43

Hi all,

The Kendo UI Validator now has a hideMessages method:

https://docs.telerik.com/kendo-ui/api/javascript/ui/validator/methods/hidemessages

Regards,
Dimo
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Imported User
Posted on: 28 Feb 2013 13:40
I have a dropbox with different items and various other inputs with validation. When selecting a specific item in the dropbox I deactivate one of the other inputs.
If the input is active and validation has failed I see the error message. Now I select the specific item in the dropbox, the input gets deactivated but the error message is still visible.
There are plenty of scenarios where this would be a great addition.