7 Answers, 1 is accepted
0
Hello Oscar,
There is an example, showing the validate method in action as part of the documentation about the validator component on the following link:
http://docs.kendoui.com/api/framework/validator#events-validate
Regards,
Kiril Nikolov
Telerik
There is an example, showing the validate method in action as part of the documentation about the validator component on the following link:
http://docs.kendoui.com/api/framework/validator#events-validate
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Oscar
Top achievements
Rank 1
answered on 16 Dec 2013, 11:46 AM
Hello Kiril,
Test this http://jsbin.com/aBAVaXA/1/edit
I can't see any message in Console. Am I doing something wrong?
Test this http://jsbin.com/aBAVaXA/1/edit
I can't see any message in Console. Am I doing something wrong?
0

Oscar
Top achievements
Rank 1
answered on 16 Dec 2013, 11:54 AM
It seems that if the container is not a form, validate event doesn't trigger. Isn't it?
0
Accepted
Hello Oscar,
The validate event is not fired, because pressing the button does not submit the form. You will need to either call the validate() method, when the button is pressed, or use a form tag as a container for your form.
I hope this information will be helpful.
Regards,
Kiril Nikolov
Telerik
The validate event is not fired, because pressing the button does not submit the form. You will need to either call the validate() method, when the button is pressed, or use a form tag as a container for your form.
I hope this information will be helpful.
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Oscar
Top achievements
Rank 1
answered on 16 Dec 2013, 01:34 PM
Hello Kiril,
Thank you for the information.
This is my scenario:
I have a kendo comboBox whose input value is required. I have a blur event on the input of my comboBox to notify the user the result of the validation, but it triggers before the kendo validator triggers its checkValidity function, so I don't know if the value of the combo has validated sucessfully or not in my blur event.
How can I get my event blur triggers after kendo validation blur event?
It's a pity that your sample of kendo validator doesn't contain any comboBox.
Thank you for the information.
This is my scenario:
I have a kendo comboBox whose input value is required. I have a blur event on the input of my comboBox to notify the user the result of the validation, but it triggers before the kendo validator triggers its checkValidity function, so I don't know if the value of the combo has validated sucessfully or not in my blur event.
How can I get my event blur triggers after kendo validation blur event?
It's a pity that your sample of kendo validator doesn't contain any comboBox.
0

Oscar
Top achievements
Rank 1
answered on 17 Dec 2013, 10:54 AM
Ups! I wrote a blur event handler before configuring kendoValidator.
Kiril, thank you very much for your help.
Kind regards.
Oscar.
Kiril, thank you very much for your help.
Kind regards.
Oscar.
0
Hello Oscar,
I am glad that you found the solution for your scenario. In case you need any further assistance, please do not hesitate to contact us.
Regards,
Kiril Nikolov
Telerik
I am glad that you found the solution for your scenario. In case you need any further assistance, please do not hesitate to contact us.
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!