Steve Ho wrote: > Hi, > > I’m using iText to fill in a PDF and I encountered a problem when > setting a value to a date field. The date field in the PDF have a mask > on it like this __/__/____. When I set put a date value (06/12/2009) > into that date field, the date appear off center. I need the date to > appear inside the mask like this _06/12/2009_. Is there a way to do it?
Can we see the form? What happens if you fill out the form manually in Adobe Reader? Is there some JavaScript formatting the date? (If so: iText will ignore it.) -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
