I have read those links around 10 times :( and im obviously missing some point on how to get the value from the control on the form.
Could you please give me an example of getting the selected value from a dropdown and then performing some action with it as that may just save me all this confusion.
Well you'll basicly have 2 options, write a custom workflow type that will do what you want, to get examples on that just check the shared sourcecode for all the default providers http://our.umbraco.org/FileDownload?id=5060
Or you could also create a code first form http://www.nibble.be/?p=205 (there you have a submit method that will provide you with the values and you can then perform an action based on that)
Value from dropdown
I have a contour form with a dropdown and would like to perform an action with the value selected by the user. How could this be done?
I have read the documentation but a little unclear how to approach this and get the selected value?
Thanks
Comment author was deleted
Hey,
To attach extra functionality to a form please check out the workflows, details on attaching workflows http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Editor/Attaching-Workflows/
You can write your own workflow types if the built in ones don't do what you want
http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Extending-Contour/
I have read those links around 10 times :( and im obviously missing some point on how to get the value from the control on the form.
Could you please give me an example of getting the selected value from a dropdown and then performing some action with it as that may just save me all this confusion.
Thanks
Comment author was deleted
Well you'll basicly have 2 options, write a custom workflow type that will do what you want, to get examples on that just check the shared sourcecode for all the default providers http://our.umbraco.org/FileDownload?id=5060
Or you could also create a code first form http://www.nibble.be/?p=205 (there you have a submit method that will provide you with the values and you can then perform an action based on that)
is working on a reply...