That's not iText, that's Acrobat when you open the document and run some javascript associated to the field.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Thursday, September 01, 2005 8:11 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] AcroForms setting field type > > > I have a problem using AcroForms. My source code is > > PdfStamper stamp = new PdfStamper(reader, fos); > AcroFields form = stamp.getAcroFields(); > > Map mfields = form.getFields(); > Set setFields = mfields.keySet(); > Iterator iFields = setFields.iterator(); > > String strField = null; > > while (iFields.hasNext()) > { > strField = (String) iFields.next(); > form.setField(strField, strValue); > } > > > The thing is that when strValue is something like 3,5 > sometimes (not always) change it to 3.5. I think that the > program thinks that I am working with numbers and that is > why it change the value. > > What can I do to avoid doing this automatic conversion? > > Thank you very much in advance > Patricia > > > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions