Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF with cas sensitive field names #100

Open
fusiller opened this issue Sep 3, 2020 · 0 comments
Open

PDF with cas sensitive field names #100

fusiller opened this issue Sep 3, 2020 · 0 comments

Comments

@fusiller
Copy link

fusiller commented Sep 3, 2020

Hi,
just came across a PDF with 'Oui' and 'OUI' fields
Using directly pdfFiller.fillForm( sourcePDF, destinationPDF, data, function(err) {
where data is a simple object { 'name':'value', name:'value', etc.. }
Error was :
SyntaxError: Unexpected identifier
at wrapSafe (internal/modules/cjs/loader.js:1053:16)
at Module._compile (internal/modules/cjs/loader.js:1101:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47

I tried XFDF xml format and pdftk accepted both

and

without error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant