When creating a contact form, it would be great to have a checkbox that people could select to opt-in to email marketing (newsletters).
I understand there are currently "Post submit actions," with MailChimp, ActiveCampaign, and GetResponse, but those get executed no matter what with each form submission (if you've enabled them). However, I only want to send the contact data to MailChimp IF they've checked the box, selecting that they actually want me to.
This can already be done with more than several other free plugins, but Crocoblock already costs $130/year and installs a massive amount of plugins on the site so I don't feel like I want to add more, just for a simple email checkbox.
If there's already conditional logic for showing form fields, it can't take much to create some conditional logic that links a checkbox to a post-submit action.
When creating a contact form, it would be great to have a checkbox that people could select to opt-in to email marketing (newsletters).
I understand there are currently "Post submit actions," with MailChimp, ActiveCampaign, and GetResponse, but those get executed no matter what with each form submission (if you've enabled them). However, I only want to send the contact data to MailChimp IF they've checked the box, selecting that they actually want me to.
This can already be done with more than several other free plugins, but Crocoblock already costs $130/year and installs a massive amount of plugins on the site so I don't feel like I want to add more, just for a simple email checkbox.
If there's already conditional logic for showing form fields, it can't take much to create some conditional logic that links a checkbox to a post-submit action.