5 Replies Latest reply on Jan 22, 2011 5:36 AM by Jasmin Charbonneau

    How to detect Approve/Reject Button pressed in the form

    hkho Level 1

      Hi, I've created a process and after kick off the process, assigned user can approve/reject the form in workspace. Can I detect which button is pressed in the form and perform different validation before the form is submitted back to server?

       

      For example, the form got field A & field B, if Approve button is pressed, field A will be a manadated field and if Reject button is pressed, field B will be a manadated field. As in my form I only got a submit button and the Approve/Reject button is generated from workspace, so I am not sure how to detect which button is pressed in the form? Thanks.