I have a PDF that has say a text field called "message" and a digital signature field called "sign".
When a user opens the PDF, the "message" field says "welcome" BUT I want the text to change to "thank you" once the document is signed. My problem is that if I try to dynamically change the text on the MOUSEUP action of the signing process, the text changes BUT it invalidates the signature stating the field "message" was modified after the signature was applied. Here is a sample of the code used (using ColdFusion code): sign = acroForm.addSignature("sign", 122, 30, 300, 108).setAction(PdfAction.javaScript(" var sigCheck = this.getField('sign').value; if (sigCheck != '') { this.getField('message').value = 'thank you'; } ", writer)); -- View this message in context: http://old.nabble.com/How-can-I-change-contents-of-a-text-field-at-signing--tp26610705p26610705.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/