we have an editable PDF which contains number of TextFields and other Fields where the user can enter the values into PDF form. For some Fields we need to pre populate the values while displaying the PDF to the user. we display the PDF by reading as OutputStream and render it to the browser as embedded. we are using iText APIs such as PdfStamper to manipulate the PDF. we do not know the names of each fields in the PDF because it is generated by someone else. Is there any possibility to find the TextField based on the Key name before the Text box? for example Patient Name : Textbox, we want to assign values to TextBox based on Patient Name as key
If it is possible then we can find the appropriate Field based on the Key and assign the values to the Fields.