Bug in Signature-Pad Widget
-
tedersm
1 month ago #62596Hello Simplifier Team,
We have built a forms application that incorporates the Signature Pad widget.
We’ve added an image upload feature to the Signature Pad, and users also have the option to sign directly on the screen via touch or mouse input.
After filling in all the information on the form, users are directed to a Form Review Page to verify their inputs. If one or more inputs are incorrect, they can click a “Correct” button to return to the form. However, after doing so, the Signature Pad widget exhibits a bug: it does not display the signature/image the user had previously entered (please refer to the attached pictures). The first picture shows the Signature Pad before the “Correct” button is pressed, and the second picture shows it afterwards.
Could you please take a look at this issue? It might be a general problem.
Thank you & Best Regards,
Markus
Attachments:
You must be logged in to view attached files.Lukas Henninger
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
1 month ago #62618::Hi Markus,
this is actually expected. Once the widget is redrawn there is no signature.
You could create a variable of type string and before you navigate away you use an ui action to store the image in the variable. Once you go back to the screen, use another ui action to set the saved image to the image of the SignaturePad widget.
I hope this solves your issue
Kind Regards
Lukastedersm
1 month ago #62902::Hi Lukas,
Thanks for the reply! Unfortunately, this doesn’t help me any further.
The problem is that the signature pad field no longer exists when changing a site and returning to the site on which the signature pad is located.
The entire input mask of the signature pad is missing. The Signature Pad then looks like the screenshot “Signature-Pad-2.png” attached above – this also look like a bug to me? So, the User ist not able to Sign via the Signature Pad if he return to the Site with the Signature Pad.Kind Regards,
MarkusDaniel Bieberstein
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
1 month ago #62966::Hey Markus,
i just recreated this and saw that in order to properly render the signature after navigating back, the signature pad itself has to be rendered. Only afterwards you can use the setImage function properly.
In my test scenario it was enough to use the “onAfterShow” event of the screen as trigger to set the image back to the signature pad. Would you be so kind and check if this is working for you?as a disclaimer: i’m using a Sim 9 Instance with the newest version of the standard content. If the error still persists for you can you please check if your instance is up to date?
Best regards and have a nice weekend,
Daniel
You must be logged in to reply to this topic.