There is a somewhat obscure way to do this with a push button: https://stackoverflow.com/questions/58611014/adding-a-button-with-the-submitform-function-with-pdfbox-in-java
Try to work with that one, then share the code and the PDF if it doesn't work; that person got it to work, except that the button wasn't displayed properly.
Tilman Am 12.10.2021 um 02:08 schrieb Light Speed:
Hi I need some guidance from all your PDFBox users. I have been trying different features like creating PDF and adding forms, etc. All seeemed to be fine. My use case is as following, the final goal is to save the PDF that customer has filled: 1. Create a Fillable PDF, with some text boxes, radio buttons, etc. Save it as MyFormTemplate (This works) 2. Make it available via a web page (This works too.) 3. The plan is to create a submit button on the PDF form to submit the filled form (the form will be filled by users). Once the server gets the filled form, it will save the form as a new PDF file with a new name (say JackForm01.pdf) (so that the original MyFormTemplate can be used over and over again by others). My question is at #3, how do I capture the data that user fills? Or even if I want to ask users to save it and then upload, I still need some mechanism to capture the change. Many thanks folks! -Jack --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org