Heey,
I would like to add a checkbox for Newsletter Subscription at the end of a contact form. So if the checkbox is clicked by the customer, then this person should be automatically added to the Subscription List (or has to confirm it via email first). I know how to add a checkbox to the form in code, but couldn’t quite figure out how to trigger this function yet. Can anyone help me further?
Tried this method, but didn’t work:
Newsletter: Yes, I want to receive the newsletter.