Skip to main content

Notifications

Announcements

No record found.

Customer Insights - Journeys forum

Subscription Center and Do Not Email

Posted on by 545

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.

  • Himanshu_Sharma Profile Picture
    Himanshu_Sharma 20 on at
    RE: Subscription Center and Do Not Email

    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.

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Subscription Center and Do Not Email

    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.

     image.png    

    Thanks, 

    Clofly

  • Suggested answer
    Aga M Profile Picture
    Aga M on at
    RE: Subscription Center and Do Not Email

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans