Created attachment 148592 [details] Demo file. This PDF also works in Acrobat, not in Firefox and not at all in Okular. In Okular clicking on "block calculations" checkbox immeditely triggers a Javascript error box. file can also be found here: https://www.pdfscripting.com/public/Free-Sample-PDF-Files-with-scripts.cfm STEPS TO REPRODUCE 1. Open attached PDF 2. click on "block calculations" 3. Immediately triggers javascript error box OBSERVED RESULT -> you get a javascript error box EXPECTED RESULT -> no error box -> dynamic PDF form can be used just like with acrobat. SOFTWARE/OS VERSIONS Windows: 10 KDE Frameworks Version 5.93.0 QT Version 5.15.2 (built against 5.15.2) Version 22.04.0