I am beginner to iText api. I have created an API to read PDF template ,prepopulate with some fields and display it back to user.
Users enters somedata and submits it back to db.
This part works fine but i have to implement another feature with iText.
When user fills PDF form and submits it back , there is one option on my UI to modify PDF form.
Which should open same PDF form filled with User data and user can change it.
I dont know how can i accomplish this with i Text.
I wont be read data back from DB As i have have one HashMap populated with user filled data but dont know how to make PDFRader reader from that form .
Fields have textboxes,checkboxes and some blocks which are 'crossed out' when selected.So i would want same behaviour from
Another option i can think .
Read blank template again using PDFReader and read Hashmap using Iterator and setValues based on that which is long lengthy code.
radio buttons - name "bo" choices are -> BO_TRUST, BO_CORP,BO_PART
gets value either 0 or 1
This hiddenfields (all of them) are columns are Db and persist.
To modify form, and prepopulate with user-entered values, how do i reverse code this.
Reading hidden fields (any has value 1) ,then radiobutton to that is selected.?How to find radiobutton in Text with choice.
subject: iText issue- how to read filled PDF from from a hashmap.