Validation on Multiple Tab strip

2 posts, 0 answers
  1. Kai
    Kai avatar
    25 posts
    Member since:
    Jul 2012

    Posted 12 Feb 2013 Link to this post

    I'm using a tab strip to update a single View-model. I'm using only one form tag for my 3 tabs however the validation for all non-visible tabs doesn't fire the validation event. Is there any work around for this or is this expected behavior?
  2. Daniel
    Daniel avatar
    2179 posts

    Posted 14 Feb 2013 Link to this post

    Hello Kai,

    The problem could occur if you are using the jQuery validation because it ignores all not visible inputs by default. If that is the case then you can avoid the problem by overriding the default settings e.g.

    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script> 
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")"></script>
            ignore: ""
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top