Signature Pad Widget

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
Paul_Ramcharitar
Profound User
Posts: 91
Joined: Fri Aug 03, 2012 11:07 am
First Name: Paul
Last Name: Ramcharitar
Company Name: Banks DIH
City: Georgetown
Zip / Postal Code: 592
Country: Guyana
Contact:

Signature Pad Widget

Post 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?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Signature Pad Widget

Post 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!
Paul_Ramcharitar
Profound User
Posts: 91
Joined: Fri Aug 03, 2012 11:07 am
First Name: Paul
Last Name: Ramcharitar
Company Name: Banks DIH
City: Georgetown
Zip / Postal Code: 592
Country: Guyana
Contact:

Re: Signature Pad Widget

Post 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.
SeanTyree
Profound User
Posts: 76
Joined: Fri Jan 11, 2013 6:11 pm
First Name: Sean
Last Name: Tyree
Company Name: US HealthWorks
State / Province: California
Zip / Postal Code: 91355
Country: United States
Contact:

Re: Signature Pad Widget

Post by SeanTyree »

Hi Scott,

Is there any update on the ability to convert the Vector Coordinates to an image?

Thanks,
Sean
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Signature Pad Widget

Post 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
SeanTyree
Profound User
Posts: 76
Joined: Fri Jan 11, 2013 6:11 pm
First Name: Sean
Last Name: Tyree
Company Name: US HealthWorks
State / Province: California
Zip / Postal Code: 91355
Country: United States
Contact:

Re: Signature Pad Widget

Post 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
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Signature Pad Widget

Post by Scott Klement »

I'll update the docs. Thanks!
mwalter
Experienced User
Posts: 140
Joined: Wed Sep 14, 2016 2:58 pm
First Name: Mark
Last Name: Walter
Company Name: Paragon Consulting Services
Contact:

Re: Signature Pad Widget

Post by mwalter »

Would it be possible to store the signature image in a blob?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Signature Pad Widget

Post 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.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests