Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How to implement canvas based signature (using signature_pad javascript)?

Hi Ali,

That's not correct selector to get canvas element.
You should use here correct one.

You can find details on the screen shot: http://prntscr.com/6rtz1w/direct

Also you can try this code instead of your if your canvas id is "signature_pad":

pre

var canvas = jQuery("#signature_pad")[0];

/pre

Regards

ali7378248
Posts: 0
Joined: Thu Feb 12, 2015 11:33 am

How to implement canvas based signature (using signature_pad javascript)?

its not working, kindly any help

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to implement canvas based signature (using signature_pad javascript)?

Hello Ali,

Could you please clarify, do you get any error?

ali7378248
Posts: 0
Joined: Thu Feb 12, 2015 11:33 am

How to implement canvas based signature (using signature_pad javascript)?

could you please check my app i totaly lost

ali7378248
Posts: 0
Joined: Thu Feb 12, 2015 11:33 am

How to implement canvas based signature (using signature_pad javascript)?

Dear Team

I manage to read the Base64string but when i am trying to open its empty

here i am invoking the canvas when the page show to let the user sign
Image

next when the user sign i add this code on the command update

Image

here i can see the string of the signature

Image

when i click on the link to see the signature its showing nothing

Image

kindly advice

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How to implement canvas based signature (using signature_pad javascript)?

Hi Ali -

You're storing a Base64 string it won't show you anything, what you're trying to do next is not clear at this moment. Please explain what should be the final result.

ali7378248
Posts: 0
Joined: Thu Feb 12, 2015 11:33 am

How to implement canvas based signature (using signature_pad javascript)?

i need to send that base64 to a database

ali7378248
Posts: 0
Joined: Thu Feb 12, 2015 11:33 am

How to implement canvas based signature (using signature_pad javascript)?

should i change the local storge type ?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How to implement canvas based signature (using signature_pad javascript)?

Hi Ali,

It seems you have incorrect JS line of code on save button click.

Details: http://prntscr.com/6thr1o/direct

Regards.

Return to “Issues”