I'm working with a federal tax form that says it was created with Adobe LiveCycle Designer ES 9.0. It's a fill-in form and I need to write to the fields on the form. I do this by finding the field in the Document.Form.Fields collection and setting it's value property. With the latest version, this is not working. I've read other threads here that mention child fields. Looking at the Form object, I see a single field object with a single child field. Any idea how to access the approximately 50 fields on the form? The form can be found at http://www.irs.gov/pub/irs-pdf/f8655.pdf
Thanks in advance for any help.
Access Form Fields on Form Created with LiveCycle Designer
Re: Access Form Fields on Form Created with LiveCycle Designer
Support · Sep 5, 2014Hello,
The form fields could be nested within each other several times, meaning the child fields may have other child fields nested within them. In order to access all the fields, you would need to recursively parse the form fields and their child field collections. The Acro Form Reader
example shows how to do that recursively.
Thanks,
ceTe Software Support Team.
Re: Access Form Fields on Form Created with LiveCycle Designer
Forum member · Sep 5, 2014Thank you. I had not considered children beyond the first layer. The single child field I saw before has 44 children of it's own.
Re: Access Form Fields on Form Created with LiveCycle Designer
Forum member · Aug 11, 2021Has this example been moved, I am looking for the code that will detect all form fields recursively on a form where we do not know the field names. I see an example referred to but it appears to have been moved or taken down and it is not in the downloaded samples on core suite. Can someone point me to it?