I would like to write some client side validation for kendo objects when the save button is clicked...however I am having trouble doing so. For example I have two autocompletes that have the same data bound to them. One of them cannot be empty. And if both have a value they both cannot be the same value (name). I also have a currencytext box that cannot be empty to create the record.
All of the validation examples I have found so far deal with regular web inputs. I just figured out, thanks to this forum how to set focus to a kedno object. It was no where in documenation and intellisence did not pick up the .siblbings on the second line of code. Also Iwould of had no idea to put ("input:visible").focus(); on the second line either. Can you point me to a demo that validates ACTUAL Kendo objects on a web form? Thanks...brand new at this
All of the validation examples I have found so far deal with regular web inputs. I just figured out, thanks to this forum how to set focus to a kedno object. It was no where in documenation and intellisence did not pick up the .siblbings on the second line of code. Also Iwould of had no idea to put ("input:visible").focus(); on the second line either. Can you point me to a demo that validates ACTUAL Kendo objects on a web form? Thanks...brand new at this
var numeric = $("#AuthBudget").kendoNumericTextBox();
numeric.siblings("input:visible").focus();