Page 1 of 1
Signature Pad Widget
Posted: Wed Oct 03, 2012 4:17 pm
by Paul_Ramcharitar
I noticed there is a new signature pad widget added to the latest release of profound UI.
Can someone give me some insight on how to implement this? I haven't found any documentation on it as yet. Also can the signature be stored as an image on the IFS?
Re: Signature Pad Widget
Posted: Thu Oct 04, 2012 11:50 am
by Scott Klement
The signature pad works (more or less) the same as any other widget. It uses the HTML5 canvas support, which is not yet available in all versions of all PC browsers. Notably, it's missing from Internet Explorer 9 and earlier. No problem on current versions of Firefox or Chrome, however.
We are primarily expecting this to be used in mobile applications, and it works great on Android and iOS, both in the browser and when packaged as an app.
The only thing that's sort-of weird about it is that when you try to move it around in the deisgner, you often end up drawing on the signature pad instead of moving it :-) There's a special spot (that only shows up in the designer) labelled 'move' that youi have to use to move it around.
The signature is stored as a list of x,x coordinates. I've been binding it to a 5000A field, which (so far) has been large enough for all of the signatures I've tried. Currently, we don't have an easy way to convert it to an image format. Would that be useful to you?
Let us know if you have any questions!
Re: Signature Pad Widget
Posted: Thu Oct 04, 2012 2:12 pm
by Paul_Ramcharitar
Hi Scott,
Thanks for the info. I'm interested in using the widget in a mobile app(Phonegap), that runs on an Android 4.0 tablet.
Having the signature stored as an image would be very useful to me. One of the reasons being I may want to print that signature on a mobile printer.
Re: Signature Pad Widget
Posted: Fri Jun 13, 2014 3:14 pm
by SeanTyree
Hi Scott,
Is there any update on the ability to convert the Vector Coordinates to an image?
Thanks,
Sean
Re: Signature Pad Widget
Posted: Fri Jun 13, 2014 4:22 pm
by Scott Klement
Sean,
We provide an API called pui.uploadSignature() that can be used to upload a signature to an image file.
Details can be found here:
http://www.profoundlogic.com/docs/displ ... config+%29
Re: Signature Pad Widget
Posted: Fri Jun 13, 2014 5:15 pm
by SeanTyree
Thanks Scott!
I didn't see this because the Signature Pad page in the documentation (
http://www.profoundlogic.com/docs/displ ... nature+Pad) hasn't been updated with the API info.
"Functionality for downloading an image of the signature will be added for subsequent releases. This doc will be updated accordingly."
Thanks again,
Sean
Re: Signature Pad Widget
Posted: Fri Jun 13, 2014 5:21 pm
by Scott Klement
I'll update the docs. Thanks!
Re: Signature Pad Widget
Posted: Mon May 22, 2017 12:40 pm
by mwalter
Would it be possible to store the signature image in a blob?
Re: Signature Pad Widget
Posted: Mon May 22, 2017 3:36 pm
by Scott Klement
Profound UI will not automatically store it in a blob, however, your code can move it into a blob if you wish.