Submitting values from a form to a workflow

Hey,I am using IDM 5 SP5.Is a link (using the arguments property) the only way to pass information from a form to a workflow? (using op_variable name)I was hoping to do it with a button. Has anyone achieved this?
[240 byte] By [s6craig] at [2007-11-26 8:44:34]
# 1
You can use the postURL property of a button to specify the URL for the workflow with its op_var arguments
chits98 at 2007-7-6 22:27:23 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
Great. Have you got an example of this so I can understand what the syntax would look like?RegardsCraig
s6craig at 2007-7-6 22:27:23 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3
<Display class='Button'><Property name='label' value='Launch wf'/><Property name='postURL' value='user/processLaunch.jsp?newView=true&amp;id=Test WF&amp;op_var1=Button&amp;op_var2=Test'/> </Display>
chits98 at 2007-7-6 22:27:23 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4

Thats great. Thanks for taking the time to put that together.

One last thing, when I use a link to submit the information to processLaunch it goes straight into the workflow. When I use a button it produces the processLaunch page and shows an OK and Cancel button.

How do I get the button to act the same as the link i.e. go straight into the workflow without the need to confirm again?

s6craig at 2007-7-6 22:27:23 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5

<Display class='Button'>

<Property name='label' value='Launch wf'/>

<Property name='postURL' value='user/processLaunch.jsp?newView=true&amp;id=Test WF&amp;op_var1=Button&amp;op_var2=Test'/>

<Property name='command' value='Save'/>

</Display>

Adding the command property as 'Save' should bypass the second confirmation screen.

chits98 at 2007-7-6 22:27:23 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6
Yep. That worked fine as well. Thank you very much for your time.
s6craig at 2007-7-6 22:27:23 > top of Java-index,Web & Directory Servers,Directory Servers...