Base solution for your next web application
Open Closed

Form validation across tabs #441


User avatar
0
chi created

When you have a form with tabs, clicking the Save button only validates data on the active tab. The non-active tabs are not validated and this causes a post to the server with invalid data.


3 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    Are you using Angularjs or MVC?

  • User Avatar
    0
    chi created

    MVC

  • User Avatar
    0
    hikalkan created
    Support Team

    Hmmm.. I see. This should be related to jQuery Validator. Have you searched for it? I found this: <a class="postlink" href="http://stackoverflow.com/questions/12928331/jquery-form-validate-wouldnt-work-using-tabs-in-page">http://stackoverflow.com/questions/1292 ... bs-in-page</a> Can you try it? It worked for me.