I want to give the option to show password on my account and log in pages.
I am using security assist for my log in page and datassist form my account.
I am using security assist for my log in page and datassist form my account.
Do you mean you want let the user show/hide the password instead of the dots in the password field? If so you can do it like this:
<input id="password" name="password" type="password" value="" confirm="" required="true">
<input id="showpassword" type="checkbox" onclick="showPW()">
<label for="showpassword">Show password</label>
<script>
function showPW() {
var x = document.getElementById("password");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
</script>
This works by displaying the login info that the user has stored in their browser, it can't pull info from the database.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.