Hello,
I have this valdiation summary:
<div asp-validation-summary="All" class="text-danger" > <span class="k-invalid-msg" data-for="Description" data-valmsg-for="Description" id="Description_validationMessage" role="alert" > </span> ... more fields</div><textarea asp-for="Description" class="form-control mc0" data-bind="value: ent.Description"></textarea> let viewModel = kendo.observable({ save: function() { let editForm = $("#edit-form").kendoValidator().data("kendoValidator"); if (editForm.validate()) { this.entDataSource.sync(); } },})
Because of the business rules, I need to validate only certain fields, based on the current entity state.
Is there a way to validate only certain fields, like all fields with class "mc0" (or fields in a "div#id-for-state-X") and have the error messages displayed in the summary?
Thanks.
