Email Opt Out On Custom Forms / Pages


I've created a page that has an email submission box. I need to add the email opt in/out box. How do I do this? The only locations I can see are [url=][/url]

I need add to this page

Suggest you look at the html generated on the checkout page and copy it into your new block/page. You might have to add a controller to handle it since the only pre controllers are for profiles and checkout. I.e. you would add a my_changes.pre.php and look for the form field.