Adding eSignature to Form-Code
<!-- place this code inside the form to get signature inputs -->
<?php $ksdk->echoSignatureCode(); ?><!-- place this code on the page to get campaign terms of service -->
<?php echo $ksdk->termsOfService; ?><!-- place this code inside the form to get signature inputs -->
<?php $ksdk->echoSignatureCode(); ?><!-- place this code on the page to get campaign terms of service -->
<?php echo $ksdk->termsOfService; ?><script type='text/javascript' src='resources/js/signature/signature_pad.js'></script><button type="button" id="kform_clearSig">Clear</button>
<br><br>
<canvas id="kform_sigPad"></canvas>
<input type="hidden" name="signature" id="signature" value=''><script type='text/javascript' src='resources/js/signature/html2canvas.min.js'></script><p class="kform_signtureText">Your signature below confirms that you have agreed to the terms and conditions.</p><br>
<div id="kform_sigDisplay"></div>
<input type="hidden" name="signature" id="signature" value=''>