Post Closed
149
Views
6
Comments
[Signature] Clear Signature Button
Question
signature
Web icon
Forge asset by Signature Team
I can't seem to get the ClearLink to work.
Tried on google chrome (both desktop and android) and IE.

Am I missing any setting or configuration?
2018-01-22 14-25-08
David Zangger
It also doesn't appear to work in Firefox.
2018-01-22 14-25-08
David Zangger
It works in the example.  But I still can't get this to work.
2020-03-19 14-14-27
Pedro Gonçalves
Staff

Hi folks,


A customer of ours had recently some troubles with this feature, as well. We didn't find this working anywhere, and found out that the issue (in version 1.0.5) is caused by a malformed jQuery element & class selection in Signature.prototype.initUI setup function.

We've made the attached changes in order to get the component working, but please not that it is unlikely that this will allow it to be used multiple times in the same page - since the jQuery selection is not designed for such requirement.


Regards!

2016-11-29-signature-component.png
2016-01-19 16-42-02
Carlos Colaço

Works also on 1.0.4 (Outsystems 9.1).


Thank you for the solution Pedro!


Pedro Gonçalves wrote:

Hi folks,


A customer of ours had recently some troubles with this feature, as well. We didn't find this working anywhere, and found out that the issue (in version 1.0.5) is caused by a malformed jQuery element & class selection in Signature.prototype.initUI setup function.

We've made the attached changes in order to get the component working, but please not that it is unlikely that this will allow it to be used multiple times in the same page - since the jQuery selection is not designed for such requirement.


Regards!



2023-04-26 06-12-36
Ouen Worth

The jSignature widget needs to be placed in the container that will be used for rendering the signature pad, otherwise the clear signature link will not work.

2022-12-19 05-31-56
Manikandan Ponvel

Thank you Ouen Worth.


Ouen Worth wrote:

The jSignature widget needs to be placed in the container that will be used for rendering the signature pad, otherwise the clear signature link will not work.