Send Parameter from View to Contour for use in Workflow
So i have a Contour form that needs to send an email on submission. The address to which it must send the email is dependent on the page currently being viewed, and is available in the model at the time of calling the Contour form macro.
How can i send the email address to the form macro as a parameter, and then how can i reference that parameter in the contour workflow builder?
Or is there another way I can achieve what I'm trying to do?
Send Parameter from View to Contour for use in Workflow
So i have a Contour form that needs to send an email on submission. The address to which it must send the email is dependent on the page currently being viewed, and is available in the model at the time of calling the Contour form macro.
How can i send the email address to the form macro as a parameter, and then how can i reference that parameter in the contour workflow builder?
Or is there another way I can achieve what I'm trying to do?
Okay, here's how I resovled this:
1. Created a custom FieldType (based on HiddenField)
2. In the MVC view for the field type, i added the email address into the value of the field
3. In the workflow, I referenced the hidden field using {fieldname}
4. All good. :)
is working on a reply...