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 / Sign in feature on Hom...
Power Pages
Unanswered

Sign in feature on Home page of Portals

(0) ShareShare
ReportReport
Posted on by

This is my code to implement sign in feature 

 

$("#log").click(function () {
var login = $("#Uname").val();
var password = $("#Pass").val();
$("#loginFrame").contents().find("#Username").val(login.toString());
$("#loginFrame").contents().find("#PasswordValue").val(password.toString);
$("#loginFrame").contents().find("#submit-signin-local").click();
 
 This is my sign in html code where I am using iframe to set the fileds
<iframe id="loginFrame" src="/SignIn?returnUrl=%2F" style="width:0px;height:0px;color: transparent;border:0px"></iframe>
<form id="login">
<label><b>UserName &emsp;&emsp;&emsp;&emsp;&nbsp;&nbsp;</b></label>
<input type="text" name="Uname" id="Uname" style="color:black">
<br><br>
<label><b>Password&nbsp;&emsp;&emsp;&emsp;&emsp;&emsp;</b></label>
<input type="Password" name="Pass" id="Pass" style="color:black">
<a style="float:right;color: #dddddd" href="https://techxact07.powerappsportals.com/Account/Login/ForgotPassword">Forgot Password?</a>
<br><br>
<br><br>
<center><button id="log">Sign in</button></center>
</form>
 
 
Issue is Could not set the Values in sign in page
Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 18

#2
11manish Profile Picture

11manish 14 Super User 2026 Season 2

#3
SP2019admin Profile Picture

SP2019admin 4

Last 30 days Overall leaderboard