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

Extract PDF form field names from a PDF form #86

Open
deshario opened this issue Jun 2, 2019 · 6 comments
Open

Extract PDF form field names from a PDF form #86

deshario opened this issue Jun 2, 2019 · 6 comments

Comments

@deshario
Copy link

deshario commented Jun 2, 2019

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

@vijaypatoliya
Copy link

I am looking for a similar solution. I want to get PDF label name same as in PDF.

@jelizarovas
Copy link

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

@saiprasad9467
Copy link

I need fields and its values
PDF-EXTRACT
PDF-EXTRACT-RESULT

The above is my requirement and the image i pasted will be sent as the pdf

@jelizarovas
Copy link

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

@saiprasad9467
Copy link

Is it possible in pdf-lib for my data retrieval as mentioned above??

@jelizarovas
Copy link

Please explain more in detail what do you mean

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

4 participants