I was presented with a requirement today where the end user wants a web page with a signature box at the bottom and they want to sign the webpage using their mouse. Will this work?
Hello Lou,
It is not possible to do this as the COTG Signature object is a cordova object that is designed to be used on the tablet. There perhaps would be a way to modify the code, and I am sure there are other form objects (Signature Objects) you could find online to do this functionality but this wouldn’t natively work with the COTG Signature object. Thanks!
Best Regards,
Francis Ciroi
In case anyone was wondering if you can capture mouse strokes with Javascript you can and it is pretty easy to put together. (The cotg object won’t work in pure html)
library: GitHub - szimek/signature_pad: HTML5 canvas based smooth signature drawing
With 5 minutes of work I got this library plugged into connect and was “writing” onto the HTML canvas.