ayeen wrote: > what i was doing is : > > form1.setField("Rail", "On");
"On" is not defined in your form. The checkbox Rail has two possible states: "Off" and "Yes". In other words: you designed the form so that you should do: form1.setField("Rail", "Yes"); Don't ask me why, that's how YOU defined the checkbox. -- 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 Buy the iText book: http://itext.ugent.be/itext-in-action/