Populate the content of signature pad thru javascript

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
swushw
New User
Posts: 12
Joined: Thu Apr 11, 2013 5:58 pm
First Name: Shirley
Last Name: Wijaya
Company Name: US HealthWorks
State / Province: California
Contact:

Populate the content of signature pad thru javascript

Post by swushw »

Hi Scott

How do I populate the content of signature pad through javascript?

Thanks.
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: Populate the content of signature pad thru javascript

Post by Scott Klement »

hi Shirley,

Nobody has asked this before, and I have never had a reason to try it, but you should be able to set the properties of any widget via the applyProperty() API. You could use this to set things for the signature pad. Most widgets require you to set the 'field type' to force them to re-render, so if applying other properties like 'value' doesn't help, then you might try following that up by applying the 'field type' property and just set it to 'signature pad' (which it already is -- but this should force it to re-render.)

I might be able to provide more useful advice if I understood what you were trying to accomplish... why do you want to control a signature pad with JavaScript?
swushw
New User
Posts: 12
Joined: Thu Apr 11, 2013 5:58 pm
First Name: Shirley
Last Name: Wijaya
Company Name: US HealthWorks
State / Province: California
Contact:

Re: Populate the content of signature pad thru javascript

Post by swushw »

Hi Scott,

applyProperty() resolved my issue. When I used changeElementValue(), it didn't work. I had to load signatures to a grid and loop through it using JavaScript and upload them.

Thanks for your help.

Shirley
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests