Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Sat Nov 27, 2021 9:00 am

Hello,

It appears to me that assigning a JavaScript action doesn't work for the Calculate event of a PdfTextBoxFieldWidget, but does for other events like the Validate.
If you create a new document with a Javascript for the Calculation event, it works fine. However, if a Javascript for the Calculate event is to be subsequently introduced into an existing document, the assignment fails.
In order to understand the phenomenon, a working document (document1.pdf) is attached that was created entirely with Spire.Pdf.
Attached is also a second one (dcoument2.pdf) that was created in the same way, except for the Javascript action for the text fields. Unless I am wrong, this document should work as well by subsequent insertion using the attached code.

Best regards

LC

LinusCondor
 
Posts: 1
Joined: Fri Nov 26, 2021 4:51 pm

Mon Nov 29, 2021 5:40 am

Hello,

Thanks for your message.
I indeed reproduced the behavior you mentioned. This issue has been logged into our bug tracking system with the ticket SPIREPDF-4813. Our Dev team will further investigate and fix it. Once it is fixed, we will provide a hotfix version for you. Sorry for the inconvenience caused.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1536
Joined: Wed Apr 25, 2018 3:20 am

Tue Feb 22, 2022 10:28 am

Hello,

Glad to inform that we just released Spire.PDF Pack(Hot Fix) Version:8.2.2 which fixed the issue of SPIREPDF-4813, please download it from the following links to test.
Website link: https://www.e-iceblue.com/Download/download-pdf-for-net-now.html
Nuget link: https://www.nuget.org/packages/Spire.PDF/8.2.2

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1536
Joined: Wed Apr 25, 2018 3:20 am

Tue Mar 15, 2022 7:21 am

Hello,

Greetings from E-iceblue. Did the hotfix version work for you? Thanks in advance for your feedback and time.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1536
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.PDF

cron