You are here:
  • KB Home
  • FAQ
  • How do I embed the Client Portal on my website?
< Back

If you want to use your own website to direct your clients to the SimplicityCollect Client Portal, you can use the code found below. There are no scripts necessary.

You will want to change the values for:

  • Company pin (Enter your company’s PIN number)
  • Login URL (This is the URL where your clients are logging in from)
  • Logout URL (This is the URL where your clients will be redirected upon logout)

 

<head><title>Client Page to Client Portal Login Sample: SimplicityCollect</title>
<script type="text/javascript">                 
function checkForMessage() {                          
var message = getUrlParam('error_msg');                          
if (message != "")                                   
alert(unescape(message));                 }                  
function getUrlParam(name) {                          
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");                          
var regexS = "[\\?&]" + name + "=([^&#]*)";                          
var regex = new RegExp(regexS);                          
var results = regex.exec(window.location.href);                          
if (results == null)                                   
return "";                          
else                                   
return results[1];                 }         
</script></head>
<body onload="checkForMessage()">
<form action="https://app.simplicitycollect.com/Login.aspx" method="post">

<input name="client_portal_login" value="true" type="hidden" />
<input name="company_pin" value="PIN#HERE" type="hidden" />
<input name="login_url" value="http://www.YourAddress/ClientLogin.html" type="hidden" />
<input name="logout_url" value="http://www.YourAddress/ClientLogin.html" type="hidden" />
Username: <input name="username" type="text" /><br />
Password: <input name="password" type="password" /><br />
<input value="Login" type="submit" />          </form></body>

 

 

See anything missing or out of date on this page? Please contact Simplicity Support at helpdesk@simplicitycollect.com.