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?
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.
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.
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.
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.
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
is working on a reply...