I took the form into XFA Worker
All the fields are on page 1
This is a summary of the output on screen
<topmostSubform>
<Header xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
xfa:dataNode="dataGroup"/>
<p1-t1/>
<p1-t2/>
...
<p1-t38/>
<p1-t50/>
<Page2Header xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
xfa:dataNode="dataGroup"/>
I have a Groovy function which reads Acrofields and I get this from it
XFA form - (from isXfaPresent())
topmostSubform[0].Page1[0].p1-cb5[0]
topmostSubform[0].Page1[0].p1-cb2[0]
topmostSubform[0].Page1[0].p1-cb7[0]
.
The first three items are checkboxes which do not appear in the top list.
So I assumed this is Acroform with XFA component, but when I query the
getAppearanceStates(field) it returns 1 and the only value.
I did submit the empty form to see what is inside, but when I submit a form
with check boxes 'ticked' I still get the same results. No p1-cb values
appearing in XFA Worker.
Stuck - sans paddle.
john renfrew
Right Way Up
Office +44 1675 475341
Fax +44 1675 475342
Mobile +44 7767 443992
From: iText Info [mailto:i...@1t3xt.info]
Sent: 16 August 2012 13:17
To: Post all your questions about iText here
Subject: Re: [iText-questions] XFA check box
Op 16/08/2012 14:05, John Renfrew schreef:
Typo indeed
Wasn't aware of this demo. Thanks.
Ran the form through XFA Worker, but the check box fields do not appear in
the XFA stream so I can't change then that way either.
The check boxes don't appear in the XFA stream = you've posted an empty
form?
XFA Worker needs data in the form of XML.
Normally, your form was created based on an .xsd.
This XML Schema Definition should reveal the XML structure that is expected
by XFA Worker.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php