react-pdf icon indicating copy to clipboard operation
react-pdf copied to clipboard

Support forms

Open thebetterjort opened this issue 7 years ago • 10 comments

Would like to be able to graba data from PDF forms.

thebetterjort avatar May 19 '17 17:05 thebetterjort

Thanks @thebetterjort . This is definitely something we will like to tackle (if possible) in a near future

diegomura avatar May 19 '17 17:05 diegomura

I would love this feature! Have someone been working on this feature? :)

marteloge avatar Jun 03 '20 17:06 marteloge

Old issue, but does anyone know if this is possible?

raguiar2 avatar Aug 21 '20 18:08 raguiar2

Never tried to get it working.

thebetterjort avatar Sep 02 '20 03:09 thebetterjort

I guess react-pdf won't support pulling data out of existing pdfs but I think we could now add support for Acro forms (adding dynamic input fields to pdfs) since support for that was added on pdfkit on this PR https://github.com/foliojs/pdfkit/pull/1002

I would love to participate adding this functionality but tbh don't have much experience working with custom renderers. If someone could push me into right direction I could take a look at this. @diegomura do you see any instant blockers why Acroforms wouldn't work with react-pdf?

valstu avatar Jun 02 '21 13:06 valstu

Hey @valstu ! Not at all. Everything should be already in place for forms to work. I recently added those primitives to our pdfkit fork. I didn't do it yet because of lack of time 😅 Yesterday I updated the CONTRIBUTING document with some hints about how to setup a react-pdf dev environment. I think the only "blocker" is deciding how forms primitives will look like. I lean to copying react-natives (or react-primitives) as close as possible because that means the learning curve for people about how to use them get's smaller

diegomura avatar Jun 02 '21 13:06 diegomura

This would be a great feature, any updates?

sepsol avatar Nov 22 '21 00:11 sepsol

Yup I'm requiring a feature like this one. Is there a chance for me to help on this? I need it 😆

diego-hourly avatar Dec 23 '21 16:12 diego-hourly

Any update about this functionality?

anthares-dev avatar Sep 20 '22 11:09 anthares-dev

Are there any updates?

joziasmartini avatar May 29 '24 16:05 joziasmartini