Adding portal login fields to your website
To insert Digita NetClient login fields in a page of your website, follow these steps.
- Select and copy the following code.<form method="post" action="https://secure.digitavirtualoffice.co.uk/nextgen/login"><input type="hidden" name="firmID" value="REPLACE"><input type="hidden" name="redirect" value="true"><label for="trLogin">Login:</label><br><input type="text" id="trLogin" name="loginUsername" autocapitalize="off" spellcheck="false" required maxlength="50"><br><label for="trPassword">Password:</label><br><input type="password" id="trPassword" name="loginPassword" autocomplete="off" required maxlength="50"><br><input type="submit" value="Log In"><br><a id="trReset" href="#">Forgot password?</a></form><script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script><script>window.jQuery || document.write('<script src="https://secure.digitavirtualoffice.co.uk/repository/jquery/1.7.2/jquery.min.js">\x3C/script>')jQuery.noConflict(true)(function(a){ var localResource = "REPLACE.png";var p=(document.compatMode=='CSS1Compat'?'fixed':'absolute'),c=location.protocol+'//'+location.host+'/'+localResource;a("a#trReset").click(function(){var b=a('<iframe id="trResetPwdFrame" style="background-color:transparent;display:none;position:'+p+';top:0;left:0;border:0;height:100%;width:100%;overflow:hidden"; z-index: 999; allowtransparency="true"></iframe>').appendTo("body").load(function(){try{b[0].contentWindow.name==="close"&&setTimeout(function(){b.remove()},0)}catch(d){}}).show().attr("src","https://secure.digitavirtualoffice.co.uk/nextgen/packaged/pwd-reset/1.1.0/index.html#"+c);return false})});</script>
- Access the source code for the page of your website into which you will embed the login fields.
- Paste the code into the page.
- Search onREPLACE.pngand replace this text with a relative path to an image file that is hosted on your domain. You should use an image that loads quickly, such as a 1 pixel by 1 pixel transparent image in GIF or PNG format; for example, you can use spacer.gif or favicon.ico.
- Search onREPLACEand replace this text with your firm ID.
- Test the login fields.