4 Replies Latest reply on Jan 16, 2011 2:13 AM by ilya40umov

    Disable validation on tab change?

    cupdike

      I have a form wrapped around a tabPanel where different tabs have submit buttons. On one of the tabs, an inputText has a required="true" that triggers a hibernate validator and displays back on the page. However, when I go to click another tab, I get "stuck" on the current tab with it complaining about the invalid entry.

      How can I conditionally disable the validition when someone is moving off the current tab, or conversely only enable it when the submit button is clicked?

      TIA, Clark