The validations are added through with help of js:

[js-code in the pdf]
this.getField(field).setAction("Validate", "jsfunction1()");
this.getField(field).setAction("Format", "jsfunction2()");
[/js-code]

after processing the file: 
I need to remove all the js and set all the fields to read only. 
(flatten doesn't do the job since it also disables the scrollbar in the
overflow situation)

But the fields are still calling jsfunction1() and 2().

Greets,
Maarten


On Mon, 2011-07-11 at 12:37 +0200, 1T3XT BVBA wrote:
> On 11/07/2011 11:28, Maarten Albers wrote:
> > How do I remove these calls to the js-functions which do no longer
> > exist?
> Maybe the calls are wrapped in an action that is attached to a form field.
> Do you have an example?
> 
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security 
> threats, fraudulent activity, and more. Splunk takes this data and makes 
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a 
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples: 
> http://itextpdf.com/themes/keywords.php


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to