Open deshario opened 5 years ago
I am looking for a similar solution. I want to get PDF label name same as in PDF.
var nameRegex = null;
var FDF_data = pdfFiller.generateFDFTemplate( sourcePDF, nameRegex, function(err, fdfData) {
if (err) throw err;
return fdfData;
});
it generates field names from the form. you can try var pdfFiller = require('pdffiller-keepfields'); to also get field values
I need fields and its values
The above is my requirement and the image i pasted will be sent as the pdf
You can't get the values with this library. I switched to "pdf-lib" to have client side pdf manipulation and react-pdf to display that updated data
Is it possible in pdf-lib for my data retrieval as mentioned above??
Please explain more in detail what do you mean
How to extract pdf form fields from this lib ... Is it possible to extract from using javascript only ?
PDFTK Command :
# pdftk input.pdf dump_data_fields
Click here for Sample