iText doesn't support masks or anything that requires JavaScript for field
formatting.
Paulo
> -----Original Message-----
> From: Steve Ho [mailto:[email protected]]
> Sent: Thursday, May 14, 2009 9:48 PM
> To: [email protected]
> Subject: [iText-questions] Question about filling in PDF form fields
>
> To whom it might concern,
>
>
>
> My name is Steve Ho and I'm using iText to fill in fields on
> a PDF form. I have no problem filling in a regular text
> field. But if the text field has a mask on it, I can seem to
> fill it properly. For example, one of the fields is a phone
> field and it has a mask of ( | | | ) | | | - ||||. When I
> tried to fill that field in with 6707898765, it turns out
> like this: (|||) 6 | 7 | 0 - ||||. How can I fill in a phone
> field using iText?
>
>
>
> Thanks,
>
> Steve Ho
>
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------
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/