Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Greg Berlin 818 posts 634 karma points
    Feb 18, 2014 @ 06:38
    Greg Berlin

    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?

  • Greg Berlin 818 posts 634 karma points
    Feb 18, 2014 @ 23:21
    Greg Berlin

    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.  :)

Please Sign in or register to post replies

Write your reply to: