Shamal Karunarathne [https://community.jboss.org/people/shamalk] created the 
discussion

"[designer][taskform] Having two submit buttons for a single form"

To view the discussion, visit: https://community.jboss.org/message/744716#744716

--------------------------------------------------------------
Hi,
I want to have two different submit buttons ('accept' and 'reject') in one user 
task form. I set two different names of each 'submit' buttons. But after 
submitting the value of the 'Submit' key (in instance data) still is 'submit'. 
How can I differentiate which submit button was clicked? 



<div class="button_div">
                <input name="Accept" type="submit" value="test" class="buttons" 
/>
                <input name="Reject" type="submit" value="test2" 
class="buttons" />
              </div>
            </form>



 
https://community.jboss.org/servlet/JiveServlet/showImage/2-744716-18908/Screen+Shot+2012-06-28+at+4.09.40+PM.png
  
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-744716-18908/450-33/Screen+Shot+2012-06-28+at+4.09.40+PM.png
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/744716#744716]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to