You are mixing two types of forms. Those designed in LiveCycle are based on
XML in a grammar called XFA. The other type of form in PDF is called an
AcroForm.
You'll notice that your code tries to work with AcroForms (AcroFields, etc.)
BUT your form is NOT an AcroForm- it is an XFA form.
You
Apologies if this question has been addressed before, but I couldn't
find an exact answer when reading through the mail archives...
What I'm attempting to do is have our application read in a pdf forms
created using Adobe Livecycle designer, fill in the form textfields with
data, stamp the form, a