Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Register contact using only user name and password. Hide/populate or make email optional.

Posted on by 10

I would like to customise the registration form to use only user name and password. 

The solution alternatively could be a different form that could accommodate registration fields (username password) as well as the customer case reporting. 

One way would be to hide the email field and populate it with some other value (I have managed to hide the field using jQuery script I found in the Community forum, however haven't managed to populate the email field so I'm getting an error message because email is mandatory)

Another way is to make the email non mandatory and/or disable error messages. As far as I have seen this is not possible.

The business case behind this is that I would like to give the option for anonymity. If the users wish the can fill in their personal data name email password in the case form.

Have you got any solution on this in terms of content snippets or any specific requirements that would help me find a contractor to implement this?

Thanks!

  • Suggested answer
    oliver.rodrigues Profile Picture
    oliver.rodrigues 4,052 on at
    RE: Register contact using only user name and password. Hide/populate or make email optional.

    We highly recommend users to migrate to PowerUsers community for new Portal questions:
    https://powerusers.microsoft.com/t5/Power-Apps-Portals/bd-p/PowerAppsPortals

    Hi, have you tried populating the e-mail in the same JS that you are hiding? something like:

    $("#EmailTextBox").val("test@email.com");

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Suggested answer
    Fubar Profile Picture
    Fubar 2,752 on at
    RE: Register contact using only user name and password. Hide/populate or make email optional.

    As far as I'm aware the only thing you can force is the use of Username for signing with the following setting (false) rather than email, but you still have to register with an email address (there is another setting for allowing non-unique email addresses - but i think if you don't get an email address you will run into other problems)

    Authentication/Registration/LocalLoginByEmail

    The alternaive is of course to allow annonymous access on a Web Role (or use the default one).

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans