itext-questions  

Re: [iText-questions] Problem with AcroFields and RadioButton

1T3XT info
Fri, 16 May 2008 05:54:50 -0700

precyz wrote:
> I'd like to mark for egzample second option. Could someone halp me ?

At the risk of getting boring: please read chapter 15 of the book.
There you'll find what the following example is about:
http://www.1t3xt.info/examples/browse/?page=example&id=248

These lines set the value of comboboxes, checkboxes, radiobuttons.
form.setField("person.programming", "JAVA");
form.setField("person.language", "FR");
form.setField("person.preferred", "EN");
form.setField("person.knowledge.English", "On");
form.setField("person.knowledge.French", "On");
form.setField("person.knowledge.Dutch", "Off");

And before you say: I've tried that example and "it doesn't work":
Check the possible values of the radiobuttons/checkboxes!
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar