eSignature HTML5 JQuery Open-Source Mobile
Currently documents, applications and various business automations are being extended to capture electronic signatures. This eSignature is authorized and is embedded in many business approval processes and workflow.
Recently one of my clients required signature capture for their application. Using many tools available in the developer marketplace eSignatures can be enabled seamlessly into your application. One method is using jQuery. A jQuery based Signature-Pad plug-in is available with use of the HTML 5 canvas (Download jquery.signaturepad.js, json2.min.js). This is a simple plug-in that can be customized easily. This plug-in retains the signature data in a JSON array format that can be used to regenerate the eSignature. This signature capture functions in all HTML 5 supported browsers of desktop and mobile devices (smartphone & tablet). It is compatible with most content management system environments such as DotNetNuke, Drupal, WordPress, Ektron as well as development web platforms such as PHP, .NET, Java.
JSON array which is generated is actually X, Y positions of mouse from starting position to ending position.
To regenerate signature on canvas use: $('.sigPad').signaturePad({displayOnly:true}).regenerate(JSONData) where JSONData is captured JSON array list.
If you want to save signature as an image you need to write procedure that reads JSON data and generates bitmap. Further the open source build using C# from https://github.com/parrots/SignatureToImageDotNet is most useful that creates images from JSON data and http://thomasjbradley.ca/lab/signature-pad also has very nice PHP, Java references to create image from JSON Data.
Name (required) Name Is Required
Email (required) Email Is Required Invalid Email Address
Website
Comment Is Required
Notify me of followup comments via e-mail
New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com