How do I embed the Client Portal on my website?

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.  Avoid embedding the code into an Iframe as this will cause login issues.

The following values will need to be changed within the code in order to tie your own website to your Simplicity database:

  • 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 "";                          
return results[1];                 }         
<body onload="checkForMessage()">
<form action="" 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