Re: [iText-questions] Fill comb-field
On 13/09/2011 18:51, Johannes Becker wrote: > Hi, > > today I tried to fill in a COMB-field: > form.setField("combFieldXXX", value); > > My problem is, that the characters don't show up in separate boxes. Instead > it appears as one single string. > > What am I doing wrong here? Any hints? Take a look at this iText generated PDF: http://examples.itextpdf.com/results/part2/chapter08/text_fields.pdf I can fill out this field without any problem using iText. However, the separate boxes are lost if I clear flags, for instance like this: form.setFieldProperty("text_2", "fflags", 0, null); -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 ___ 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
Re: [iText-questions] Fill comb-field
On 13/09/2011 18:51, Johannes Becker wrote: > Hi, > > today I tried to fill in a COMB-field: > form.setField("combFieldXXX", value); > > My problem is, that the characters don't show up in separate boxes. Instead > it appears as one single string. > > What am I doing wrong here? Any hints? Maybe you didn't define a "MaxLen" for the field. COMB is ignored in some cases (missing MaxLen, impossible combinations with other flags,...) -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ 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
[iText-questions] Fill comb-field
Hi, today I tried to fill in a COMB-field: form.setField("combFieldXXX", value); My problem is, that the characters don't show up in separate boxes. Instead it appears as one single string. What am I doing wrong here? Any hints? Thanks in advance Jonny P.S.: This question was raised by some other guy 6 years ago, but was never answered. -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ 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