PDF with cas sensitive field names
fusiller opened this issue · 0 comments
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.