Hi,
I'm looking to validate date fields on a page, which is simple (see this JSBin from this thread).
BUT, when a page has multiple date fields on a page, things start to get wacky. See this JSBin and play around with invalid dates. The invalid message doesn't know which input to bind to, causing error messages on the wrong inputs.
Thanks for any help.
EDIT:
Simply instead of doing $("#MyForm").kendoValidator(...); targeting the date fields $(".datepicker").kendoValidator(...); resolved the issue.
Marking as 'answered'
I'm looking to validate date fields on a page, which is simple (see this JSBin from this thread).
BUT, when a page has multiple date fields on a page, things start to get wacky. See this JSBin and play around with invalid dates. The invalid message doesn't know which input to bind to, causing error messages on the wrong inputs.
Thanks for any help.
EDIT:
Simply instead of doing $("#MyForm").kendoValidator(...); targeting the date fields $(".datepicker").kendoValidator(...); resolved the issue.
Marking as 'answered'