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 / Show option to show pa...
Power Pages
Unanswered

Show option to show password on login

(0) ShareShare
ReportReport
Posted on by 312

Hello community, I am working with a portal in power apps. 

 

I would like that when the user enters his name and password, it shows him an option to see his encrypted password.

MartinVargas_0-1647227572936.png

 

 

Try putting it in the following code snippet:

 

MartinVargas_1-1647227572943.png

 

The problem is that I don't know how to send to invoke the function. I do not know where to put the option that allows you to see the password.

 

 

Can someone help me here? 

I would appreciate it guys

Categories:
I have the same question (0)
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hey @MartinVargas 

     

    My apologies. Please try the following code. I have tested it and it is working properly. It may look ugly at this stage but you can take this as a model and move your show password next to "remember me"  checkbox. 

     

    In Account/SignIn/PageCopy - Content snippet: paste the following code 

     

    <input type="checkbox" onclick="myFunction()">Show Password
    <script>
    function myFunction() {
    console.log(555,"RR Test");
     var x = document.getElementById("PasswordValue");
     if (x.type === "password") {
     x.type = "text";
     } else {
     x.type = "password";
     }
    }
    </script>

     

    Hit save and close 

     

    ------------
    In Portal studio

    1. Pres sync configuration and browse the website. And press "Ctrl+F5" - some times may be twice 

     

     

    Output: 

     

    ragavanrajan_0-1647427579052.png

     

    Hope it helps. 
    ------------

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

     

  • MartinVargas Profile Picture
    312 on at

    Hi @ragavanrajan, thank you very much.

     

    I'm finally trying to move the password box to the "remember me" checkbox.

    MartinVargas_0-1647450352906.png

     

    Could you help me here? Please.

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!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 26 Super User 2026 Season 1

#2
Lucas001 Profile Picture

Lucas001 19 Super User 2026 Season 1

#3
CN-06091549-0 Profile Picture

CN-06091549-0 18

Last 30 days Overall leaderboard