Register » Copy & Paste » Validate » Save
We made it as easy as we possibly could.
1. Register
The first part of the process is to register. During the registration process you will have to fill in information that would be found in a typical registration process with an additional key set of data, your domains.
Your domains are one the most important assets to our special sauce and if a domain doesn't appear in our database, our sigObject™ will not properly validate, rendering your integration useless.
2. Set Your Document Type
Set the proper HTML5 compliant document type at the top of the HTML page, in addition to the following meta tags after the start of the head.
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="target-densitydpi=device-dpi; width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="target-densitydpi=device-dpi; width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
3. Didoline Core JS
Copy & paste Didoline's core JavaScript and jQuery into the <head> of the page you would like to use a signature instance. If you already have the JQuery library on your site, you can leave the first line out, however we recommend you use our tried and tested version.
4. Signature Instance Code
Create a DidolineSignature instance by passing in an argument object. For each instance, add two hidden fields within a form to validate the returned signature path and signature ID.
The argument object has the following properties: key (String) - your client key code; secret (String) - you client secret code; inputSignatureID (String) - ID of the hidden field where the signature ID will be populated; inputSignaturePath (String) - ID of the hidden field where the signature image path will be populated. You DidolineSignature instance code will be generated for you and is located in the Integration section within your profile pages.

