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/...
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-744716-18...
--------------------------------------------------------------
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&...]