PDA

View Full Version : Signature Pad Field



jdubya
7 Aug 2012, 11:05 PM
I recently created an application utilizing ST2 and needed the ability to store a user inputted signature into my DB. I wrote a custom signaturefield extension, view my original post and download source here: http://morointeractive.com/sencha-touch-2-signature-field-with-android-todataurl-work-around/

nak1
21 Nov 2012, 2:34 PM
Thanks for putting this together, I'll give it a try and let you know if I've got any feedback.

abhi.srinu
10 Jun 2014, 3:57 AM
is this working??

I'm creating it dynamically. But getting this error


Uncaught TypeError: Object # has no method 'relMouseCoords' in


canvasTouchStart: function(e) {
this.bMouseIsDown = true;
coords = this.actionOverlayCanvas.element.dom.firstChild.relMouseCoords(e);
this.iLastX = coords.x;
this.iLastY = coords.y;
},



I'm creating it and then adding it to a field set.



component=new Ext.ux.signaturefield(
{
label: 'Signature',
labelAlign: 'left',
sigWidth: 350,
sigHeight: 150,
id: 'id-sigf'
})
fieldset.add(component);


Is there something I'm doing wrong?

yenduttjain
19 Jun 2014, 6:01 AM
When we rotate the device the signature pad does not rotate or resize properly.