0 Replies Latest reply on Mar 28, 2008 3:33 PM by Jeff Jo

    SimpleTogglePanel validation

    Jeff Jo Newbie

      I have a SimpleTogglePanel which has multiple "tabs" that correspond to different steps of a multi-step form. I have the entire thing enclosed in a <h:form/> tag and one <h:commandButton/> which submits the values on all "tabs" in one shot.

      The problem is, I have fields on some of the tabs which require validation. I need to be able to display the correct toggle panel where the validation occurred. Is there any way to look at what the validation error message was and switch to the appropriate togglepanel using javascript?

      Thanks.