> Could someone help me to figure out how to check if a form field is
> required?
>
> I can only find ways to make a field required using API, but not to verify
> if a field is required.

Take a look at the Ff entry in the field's PdfDictionary.  The second
bit tells if it's required or not.  See tables 8.60 and 8.61 in the
pdf spec.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to