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

React form pdf generation question #3

Open
bnbabu55 opened this issue Apr 30, 2022 · 0 comments
Open

React form pdf generation question #3

bnbabu55 opened this issue Apr 30, 2022 · 0 comments

Comments

@bnbabu55
Copy link

bnbabu55 commented Apr 30, 2022

If you have a static PDF you want to generate, then having the file on the server-side is a great option.

I have a react form that users would fill out and sign and submit, at this point I want to generate a PDF file with standard form text, and users filled in the information and send it across in an API call. Trying to figure out a way to do this with @react-pdf/renderer.

I have integrated the user data with the form, I have a react component ready in the front end, how do I send it across to the backend.

I see that you have the mydocument.js file on the server-side, but in my case, MyDocument is going to be generated dynamically, multiple forms with different user enterable fields. So, I should be able to send them across to the server.

Any ideas would be greatly appreciated.

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

1 participant