cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1475
Views
15
Helpful
4
Replies

Splash page log in credentials

RSC24
Community Member

Just wondering if there is an option to show password when logging-in to Meraki splash page just like the same way with Google Gmail were there is a tick box option to show the password, So that before a user logs in able to assure the password they key in is correct.

1 Accepted Solution

Accepted Solutions

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

Some thing like this.


<!DOCTYPE html>
<html>
<head>
<title>Password Toggle Example</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 50px;
}
.container {
max-width: 300px;
margin: auto;
}
.toggle-button {
margin-top: 10px;
padding: 5px 10px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="container">
<label for="myInput">Password:</label>
<input type="password" id="myInput" value="FakePSW">
<button class="toggle-button" onclick="togglePassword()">Show Password</button>
</div>

<script>
function togglePassword() {
var x = document.getElementById("myInput");
var btn = document.querySelector(".toggle-button");
if (x.type === "password") {
x.type = "text";
btn.textContent = "Hide Password";
} else {
x.type = "password";
btn.textContent = "Show Password";
}
}
</script>
</body>
</html>

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

View solution in original post

4 Replies 4

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

If you're hosting your own homepage or using Meraki's custom homepage feature, you can try adding a simple checkbox and JavaScript to toggle password visibility.

https://documentation.meraki.com/General_Administration/Cross-Platform_Content/Customizing_the_Splash_Page

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

Some thing like this.


<!DOCTYPE html>
<html>
<head>
<title>Password Toggle Example</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 50px;
}
.container {
max-width: 300px;
margin: auto;
}
.toggle-button {
margin-top: 10px;
padding: 5px 10px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="container">
<label for="myInput">Password:</label>
<input type="password" id="myInput" value="FakePSW">
<button class="toggle-button" onclick="togglePassword()">Show Password</button>
</div>

<script>
function togglePassword() {
var x = document.getElementById("myInput");
var btn = document.querySelector(".toggle-button");
if (x.type === "password") {
x.type = "text";
btn.textContent = "Hide Password";
} else {
x.type = "password";
btn.textContent = "Show Password";
}
}
</script>
</body>
</html>

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

I wish I could give this answer extra kudos.

I gave an extra kudo on your behalf, @Philip D'Ath! (I don't have double-kudo power like the All-Stars though :-))

Review Cisco Networking for a $25 gift card