I set up the Newsletter Plugin about 2 months ago with a simple newsletter form without any defined lists.
Yesterday I tried to implement lists, so that people can subscribe to 2 different lists by checking or unchecking two checkboxes. I changed my newsletter shortcode by adding the two checkbox elements so that it looks like this:
label="First name "]
label="Last name "]
label="I support Total Carbon Rationing"]
label="Subscribe to updates"]
label="GDPR Permissions: check this box to confirm you agree to receive campaign updates and the Total Carbon Rationing newsletter. Your email address will never be sold or given to any third parties. You may unsubscribe at any time using the link at the bottom of the newsletter email."]
I notice in the generated HTML that the newsletter_field list checkboxes are totally absent.
I have entered lists 1 and 2 on the Lists form in the Newsletter list-building configuration page, and chosen ‘Even on subscription forms’ for both.
I have not included a list=”1,2″ attribute on my form definition because I want them to be free options, although in fact if I do put that attribute on the form, then the appropriate hidden fields are included.
It seems there must be a problem but I can’t see what I need to do.