[okular] [Bug 450453] JavaScript filling other form fields in PDF not working

Szymon Rutkowski bugzilla_noreply at kde.org
Thu Feb 24 21:02:12 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=450453

Szymon Rutkowski <sz.rutkowski at protonmail.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Cannot fill out form fields |JavaScript filling other
                   |correct                     |form fields in PDF not
                   |                            |working
                 CC|                            |sz.rutkowski at protonmail.ch
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #1 from Szymon Rutkowski <sz.rutkowski at protonmail.ch> ---
Hi, thanks for reporting.

The reporter expects the data entered into form fields in the pages 1-2 to be
automatically replicated on the subsequent pages (with different language
versions of the document). This works on the official Adobe reader, at least on
Windows.

This seems related to embedded JavaScript in the document. For example, the PDF
object number 297 contains the snippet
"event.value=this.getField("b4").value;", which (I assume) fills the field with
the value of another field and (I also assume) this is not executed.

Similar, not quite the same bugs:
https://bugs.kde.org/show_bug.cgi?id=271728
https://bugs.kde.org/show_bug.cgi?id=307304
https://bugs.kde.org/show_bug.cgi?id=403632
Older broad tickets about JS, I don't know about their current actual status:
https://bugs.kde.org/show_bug.cgi?id=223022
https://bugs.kde.org/show_bug.cgi?id=258941
https://bugs.kde.org/show_bug.cgi?id=306855

The example file(s) can be also downloaded from:
https://www.impots.gouv.fr/formulaire/5000-sd/attestation-de-residence-destinee-ladministration-etrangere

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list