[jboss-user] [jBPM] - [designer][taskform] Having two submit buttons for a single form

Shamal Karunarathne do-not-reply at jboss.com
Thu Jun 28 04:13:56 EDT 2012


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120628/427eb234/attachment.html 


More information about the jboss-user mailing list