I need to know which form fields are present in a document and also where they are located (page + rectangle).
Therefore, I use document.Form.Fields to get a list of the form fields in my document.
All fields contain both Rect and PageIndex, but fields of type RadioButtonField show “0” as PageIndex (even though the RadioButtons are on page 1) and “0,0,0,0” as Rect.
The list of options (RadioButtonField.Options) does not provide this kind of information.
Unfortunately, the RadioButtonOptionFields are not listed directly under document.Form.Fields (in some documents they are listed, in some they are not - obviously depending on the editor used to create the fields).
How can I get this information (for the RadioButtonField and, if possible, for its options).