Thanks Bruno...this is actually very helpful and gives me greater insight.

My only concern now is how to add an EXTRA event to the same acrofield.

Thanks to all...and as a side note, I am NOT asking for anyone to write my
code thank you very much...I asked a simple question, I thought...it's a
FANTASTIC API.  On another note, sometimes we workers are held to a certain
coding environment (coldfusion) and we are not permitted to change the
customer's entire server strategy but work within it.

I had no idea that "noAction.put" was a reference to "OnFocus".

Thanks for the examples Bruno...your work is very much appreciated.



Bruno Lowagie-3 wrote:
> 
> webpointz wrote:
>> I guess I will keep trying given that nobody seems to want to provide
>> assistance other than clues.
> 
> Clues???
> 
> You ask for an example, and I'm giving you a fully fledged example:
>>> Now click on the first link you see:
>>> http://1t3xt.info/examples/browse/?page=example&id=438
>>>
>>> Now download that example, and study it closely.
> 
> I even tell you which line you need:
> 
>>> Especially this line:
>>>
>>> noAction.put(new PdfName("Fo"),
>>>         PdfAction.javaScript("setReadOnly(true);",
>>> stamper.getWriter()));
> 
> That's not a clue!!! That example shows exactly how to
> add an onFocus event to a field in an AcroForm!
> 
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> 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/
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-can-I-change-contents-of-a-text-field-at-signing--tp26610705p26682163.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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/

Reply via email to