How to check if signature is empty?

Hello, 

I would like to know if there is a way to know if a signature is empty, cause I would like to enable a "save" button only if the signature is not empty.

I've seen that the question has already been posted for Flutter, but I didn't found a similar one for Xamarin.Forms.

I've tried to manage this with the ImageSource field of the signature control, but it's not a perfect solution: if the user has started to draw, and clean the signature of the SfSignaturePad, the ImageSource field is not null.

Would you have a better suggestion?

Thank you!

2 Replies 1 reply marked as answer

RS Ruba Shanmugam Syncfusion Team March 26, 2021 11:33 AM UTC

Hi Pierre Chirstophe, 

Greetings from Syncfusion.  

Currently, we don’t have direct support to achieve your requirement other than using ImageSource filed. So, we have considered “Drawing start and ene event support for signaturepad” as a feature and already logged this as a feature request, and you can track the status of this feature implement through below link, 


When we end drawing in the SfSignaturePad, the above event is triggered. In this case you can enable the save to achieve your requirement. 

This feature will be available in our upcoming Volume 2 main release, which is scheduled to be released at the end of June 2021. Until then, we appreciate your patience. 

Regards, 
Ruba Shanmugam 
 



SS Suganya Sethuraman Syncfusion Team July 1, 2021 06:10 AM UTC

Hi Pierre Chirstophe,

Query: " Drawing start and end event support for signaturepad"

Feedback link
: https://www.syncfusion.com/feedback/16987

We are glad to announce that our Essential Studio 2021 Volume 2 release v19.2.0.44  is rolled out and is available for download under the following link.

Essential Studio 2021 Volume 2 Main Release v19.2.0.44 is available for download | Announcements Forums | Syncfusion

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,
Suganya Sethuraman.
 


Marked as answer
Loader.
Up arrow icon