Op 25/01/2011 7:54, Ranjani Kovi schreef:
Hi,I am using iTextsharp.dll of 5.0 version. I have a list of check boxes with the same field name. At a time only one check box can be checked. I tried with the index of the check box, for example: there are multiple product category is available in the form of check boxes. at a time you can check only one category. I was able to do this with the help of the index of those check boxes. but when there are only 2 no of check boxes in this case this logic is not working. Can anybody tell how we can do this?
I have no idea what you're talking about.I've created a form with Acrobat containing three checkboxes with name "check". I've then filled out this form with iText using form.setField("check", "Yes");
The result was that the three checkboxes are checked. If this doesn't work for you, you need to clarify.IN GENERAL: PLEASE DON'T POST QUESTIONS WITHOUT ADDING AN EXAMPLE THAT REPRODUCES THE PROBLEM.
checkboxes.pdf
Description: Adobe PDF document
checked.pdf
Description: Adobe PDF document
------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions 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
