wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.6k stars 557 forks source link

How to save (modify) PDF with what user typed in PDF's form? #748

Open lay-mand opened 1 year ago

lay-mand commented 1 year ago

What react-native version are you using? 0.70.7

What react-native-pdf version are you using? 6.6.2

What platform does your issue occur on? (android/ios/both): Both

Describe your issue as precisely as possible : Hi guys. Thank you for your work and this library. I'm struggling with problem. Do you know how to save PDF that has a fillable form, I mean get/save what user typed in textField/checkbox etc form elements?

I know how to modify PDF, how to get PDF's form, but when I fill PDF form by typing manually anything in fields, then load/open this PDF I got empty form data;

Thank you

lay-mand commented 1 year ago

@lay-mand , You can take screen shot of the pdf with filled items and then convert that screen shot again to pdf and save to users local file.

Unfortunately, it's not a solution. It's a crutch again

If we have ability for fill form we definitely have some PDFKit's method to save/get those values

vipulparmarmt commented 1 year ago

I have same issue in pdf files ++1

vipulparmarmt commented 1 year ago

Any solution found @lay-mand ???

vipulparmarmt commented 11 months ago

Someone please Help us on this to saved edited pdf file +++1

rajivchaulagain commented 11 months ago

@vipulparmarmt there is no solution from this package try using alternate package.

vipulparmarmt commented 11 months ago

@rajivchaulagain Could you please suggest any package that will help me to rid of this situation and solve early as possible.

rajivchaulagain commented 11 months ago

@vipulparmarmt I used docusign or you can use pspdfkit