2 Replies Latest reply on Jun 9, 2011 11:19 AM by lrios

    a4j:commandButton do not trigger validation

    lrios

      Hi, I have a form that the user has to fill out, in this form I have several validations, all of them use the validations of the rich 3.3 demo ajax validation.

       

      In this form I also have two a4j:commandButton, one is a "Save" button which I want to trigger the validations and then process the information, this works just fine, but the other button is a "Cancel" button which cancels the operation in process and returns to the previous page, in this case I don't want the validations to be triggered, I just want the page to navigate, but it always triggers the validation.

       

      How can it be done?

       

      Any help would be mostly appreciated.