4 Replies Latest reply on Oct 20, 2010 6:35 AM by Ilya Shaikovsky

    How to disable h:commandButton dynamicaly?

    Benjamin Mark Newbie

      Hello,

       

      I have a input form and a disabled "Save" Button (h:command).

      How can I enable it dynamicaly? The problem is that the normal "required="true" strategy is not working because it depends on the combination of the entered fields. In example it is OK when field 1 and field 3 is entered but its also ok when field 5 and field 6 is entered?

       

      Do anyone have a idea to solve this by a4j or however?

       

      Thx

       

      Ben