Is it possible to make all subscription lists on a form clear when "Do Not Email" is selected without going into the code/html?
Example: I have a subscription center with 6 lists that the customer can select they are interested in. It also has a Do Not Email. If Do Not Email is checked, I want the form to clear the other checkboxes.
Hi Clofly,
Bumping on to this thread but can you share the screenshot again as it is not appearing here. Secondly the query code you have suggested can also be used to create a check box field which when selected can check all the other subscription lists.
The scenario here is that we have 3 subscription lists and another checkbox which says “All Newsletter”. If the user selects “All Newsletter” then all the three subscription lists should be selected, The user of course can also check individual lists if they want,
what I am after is that select all lists functionality.
Hi Stephani,
It can't be implemented without code.
But it's easy to insert external resources in HTML designer, so if you don't care adding code in HTML, you could simply paste the following jQuery code in your Marketing page.
$(document).on('change', '.marketing-field .lp-checkbox', function () { if ($(this).is(':checked')) { $('.marketing-subscription-list .lp-form-fieldInput').prop('checked', false); } }) $(document).on('change', '.marketing-subscription-list .lp-form-fieldInput', function () { if ($('.marketing-field .lp-checkbox').is(':checked')) { $(this).prop('checked', false); } })
That works well in my page.
Thanks,
Clofly
Hi Stephani,
Thank you for the question.
If user selects "Do Not Email" we will respect this and no newsletters will be send out.
However, the checkboxes next to the lists will remain selected and currently it's not possible to change it.
We will add your suggestion into our product improvements backlog.
Best Regards,
Aga
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156