Re: [iText-questions] Remove validation and formatting from fields

2011-07-11 Thread Maarten Albers
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.

Re: [iText-questions] Remove validation and formatting from fields

2011-07-11 Thread 1T3XT BVBA
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? --

[iText-questions] Remove validation and formatting from fields

2011-07-11 Thread Maarten Albers
I have a pdf with javascript functions to validate and to format. After I remove all javascript I still get some errors that the format and validate functions do no longer exist. How do I remove these calls to the js-functions which do no longer exist? Greets, Maarten -