Copied to clipboard

Flag this post as spam?

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


  • Craig Cronin 304 posts 503 karma points
    Apr 25, 2014 @ 12:09
    Craig Cronin
    0

    Campaign Monitor Checkbox

    I need to add a custom checkbox to contour to allow users to signup for newsletters, but was wondering which was the preferred route for building this.

    Should I create the custom field type, then I can hook into the RecordSubmit event and run my logic here.  I feel this is quite nice I because users only ever add this checkbox to their form and don't have to worry about enabling workflows etc.

    Or

    Once I have created the custom field to also create a custom workflow which would run my logic?  

    Any recommendations would be appreciated.

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Apr 30, 2014 @ 16:08
    Tim
    0

    Either method work fine! I would probably use a workflow, as that way you can easily enable/disable the feature, and if you want to, you can add configuration options to the workflow to let your editors set various campaign monitor options on a per form basis.

  • Craig Cronin 304 posts 503 karma points
    Apr 30, 2014 @ 21:52
    Craig Cronin
    0

    Thanks for the reply Tim.  I ended up going down the workflow route in the end because I also needed to store additional options such as the list name etc, like what you suggested really.

    I've signed up for the contour workshop in Codegarden this year to try and sharpen my skills before I start replacing our current system.  Thanks again.


    Craig

Please Sign in or register to post replies

Write your reply to:

Draft