We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Trying to Stop the Signature Dialog when selecting a SignatureField

Hi, Guys,

I wanted to not show the signature dialog when selecting a SignatureField using Pdfviewer.

I saw that on the PdfViewerEvents one of the parameters is FormFieldClick that accept a event of 

FormFieldClickArgs that has a Cancel property, and it says that will prevent the dialog to show up, I tried that and it is not working for me.

Also, the same event has the property Field and one of the properties inside that is the Value, that I can add a text to that, using that property will add a value to a SignatureField or just for plain TextFields?

Can you guys help me with this on how I can implement it.

I'm adding a project with the changes I want to implement.

Thank you for all your hard work.


Attachment: SignatureFieldSignatureModalCancelNotWorking_20230323_c2512dbe.zip

3 Replies

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team March 28, 2023 11:43 AM UTC

Please find the details.


FormFieldClickArgs that has a Cancel property, and it says that will prevent the dialog to show up, I tried that and it is not working for me.

 

We were able to reproduce the reported scenario “While clicking on the signature field, args.cancel = true in the form field click event is not working” and suspect this to be a defect. We will validate it and update further details in two business days.

Also, the same event has the property Field and one of the properties inside that is the Value, that I can add a text to that, using that property will add a value to a SignatureField or just for plain TextFields?

 

The purpose of the form field click event is to get the data for the particular form field and we can't set any values in the event.



VV Visvesvar Venkatesan Syncfusion Team March 30, 2023 02:52 PM UTC

We have confirmed that the reported issue “While clicking on the signature field, args.cancel = true in the form field click event is not working” is a defect and logged the defect reported for the same. The fix for the issue will be included in our upcoming weekly NuGet release on April 05, 2023. You can track the status using the below feedback link.


Feedback link:  Arguments in cancel are not working properly  | Issue Feedback


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”



VV Visvesvar Venkatesan Syncfusion Team April 5, 2023 04:47 PM UTC

We have fixed the reported issue “While clicking on the signature field, args.cancel = true in the form field click event is not working” and the fix for the reported issue was included in our latest weekly release v21.1.0.38. Kindly upgrade to that version to get the issue resolved.


Blazor Client   

https://www.nuget.org/packages/Syncfusion.Blazor.PdfViewer/

Blazor Sever  

https://www.nuget.org/packages/Syncfusion.Blazor.PdfViewerServer.Windows  


CDN:  


https://cdn.syncfusion.com/blazor/21.1.38/styles/bootstrap5.css

https://cdn.syncfusion.com/blazor/21.1.38/syncfusion-blazor-pdfviewer.min.js


  


Loader.
Live Chat Icon For mobile
Up arrow icon