web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer Insights - Journeys forum

Subscription Center and Do Not Email

(0) ShareShare
ReportReport
Posted on by

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.

I have the same question (0)
  • Suggested answer
    Aga M Profile Picture
    on at

    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

  • cloflyMao Profile Picture
    25,210 on at

    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

  • Himanshu_Sharma Profile Picture
    20 on at

    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.

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 > Customer Insights - Journeys

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans