4 Replies Latest reply on Nov 20, 2009 10:11 AM by Marco Huber

    Particial form validation in rich:tabPanel

    Marco Huber Newbie

      Hi experts,

      I have question regarding rich:tabPanel and form validation.

      We have in our application diverse tabPanels with some input fields. Now I have the requirement that input fields should be validated on a tab change: Before you can switch to another tab error messages should be displayed for all missing require fields.

      Is there a way to execute the form validation on a tab click? I didn't found any hints in this direction. I found the "ontabenter" tag on the rich:tab, but wondering how I get access via javascript to the form validation.

      Any help is welcome.

      Regards
      Marco