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 :
Power Platform Community / Forums / Power Pages / Power Pages password f...
Power Pages
Unanswered

Power Pages password field

(0) ShareShare
ReportReport
Posted on by 1
Hello,
 
I would like to create a field in Power Portal website where i have to introduce a password. The field may look like a password field with ********** or anything else. Do you know a method of how can i achieve this? I have found a solution on the internet with editing the JS in the web pages are from Portal Management, but didn't help. I have tried anything I've found on the web, but with no success.
(sorry if the question was addressed before, I already have found a solution, but didn't work as expected, here https://powerusers.microsoft.com/t5/Power-Apps-Portals/Create-Password-Field-in-PowerApps-Portal/td-p/753914)
 
Do you know any walkaround?
 
Thank you so much
Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    Are you trying to do something with a password for the Portal or is it for another System?

     

    The general process as described in that post is how you would do it for another System and is correct

    • 'mask' the Input field
    • Hash the password using a custom plugin in dataverse (so you are not storing an encrypted password)
    • depending on where you are storing it either use a Field Security Profile and/or Security Role to control access to it in dataverse

     

    // To apply the mask. Depending on where you place it the following may also need to be wrapped in <script> tags
    
    $( docutment ).ready(function() {
     $("#yourfields_Logical_name_here").attr("type", "password");
    });
    
    // yourfields_Logical_name_here part will be something like #new_testcolumn

     

    (you may actually have 2 fields one for the raw password, what you mask on the website, and one for the Hashed password that you do not expose on the site.  Run a plugin as 'pre operation' create/update - take the Raw password, hash it and then clear the raw field and update the hash field in the plugin doing so you can allow the user to update the Raw field without exposing the Hash)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 53

#2
DP_Prabh Profile Picture

DP_Prabh 49

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 28 Most Valuable Professional

Last 30 days Overall leaderboard