You are viewing limited content. For full access, please sign in.

Question

Question

How to add custom HTML to WebLink Login

asked on July 28, 2020

I am trying to add a customize line on the WebLink login page to display an example for user login, "Please login with domain\username"

Currently on version 10.2, I have looked into the login.aspx and the weclome.aspx and no luck. Has anyone customize this or added a placeholder "Domain\username" in the username field?

0 0

Answer

SELECTED ANSWER
replied on July 29, 2020

Jonathan,

By using the existing JavaScript that Laserfiche has near the bottom of the Login.aspx page I was able to add in the placeholder text for the username element.

<script type="text/javascript">
/* Focus on the user text box if not disabled */
(function () { var a = document.getElementById("TheLoginInterface_UserBox"); if (!a.isDisabled) { setTimeout(function () { a.focus() }, 250); a.placeholder = 'domain\\username'} 
})();
</script>

 

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.