That's all done with JavaScript generated by Acrobat. You can generate you form with Acrobat with patterns and validations and then copy the result to iText. This plug-in will certainly help you: http://www.enfocus.com/support/knowledgeBase/browser.php.
Best Regards, Paulo Soares > -----Original Message----- > From: Peter Yun [SMTP:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 10:41 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [iText-questions] How to define field format? > > Hi, > > Does anyone know how to define field format in iText (Date, time, > numeric...)? > Any custom pattern? > And how to do a field validation? > > Apparently the addSingleLineTextField does not take care of the field > format > thing... > > acroForm.addSingleLineTextField(field.name, " ", helv, > fontSize, 171, 800, 350, 820); > > > Thanks > Peter Yun > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
