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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer Service forum

Portals username/ Email switch over no longer mandatory?

(0) ShareShare
ReportReport
Posted on by 1,338

When I use the following function:  Authentication/Registration/LocalLoginByEmail 

the username field is gone, which is what I want however the email field is added but there is no asterix?

2019_2D00_05_2D00_20-09_5F00_57_5F00_16_2D00_Sign-in_A000B700_-Customer-Self_2D00_Service.png 

This has been flagged as a potential problem for users - any ideas how I can get the asterix back, as soon as I set that to false and username comes back the asterix shows. 

I have the same question (0)
  • Verified answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    It is by design. You could add "*" by code on the portal.

    1. Go to you Dynamics 365 Portals->Content Snippets and create a new record named "Account/SignIn/PageCopy".

    2. Set the value as the screenshot shows below, and add the jquery code to control the class of the email label on the signin page or portal.

    community460.png

    3. Save and return to your signin page, here is the result.

    community460.png

    <script>
        $(window).load(function() {
            debugger;
           $("Label").addClass("required");
           
        });
    
    
    </script>


    The thought is that we could edit the signin page throuhg adding custom js/jquery/css code in the Content Snippets "Account/SignIn/PageCopy" record. So we just need to catch the Email Label and add a "required" class to it.

    Hope it helps.

    Best Regards,

    Leo

  • Suggested answer
    Justin Wilkinson Profile Picture
    1,338 on at

    Leo thank you so much for this very helpful!

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 Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans