Hi
Thanks so much!
It looks like they are page actions. Is there a way to remove all page
actions? Do you think there would be any other consequences of removing
all page actions other than getting rid of the javascript?
Kim
On Mon, 13 Jun 2005, Leonard Rosenthol wrote:
At 12:11 PM 6/13/2005, Kimberly Kettner wrote:
I have a web application which has HTML forms for users to enter inputs
into. The HTML forms send data to a servlet which uses itext to feed the
data into PDF forms, and then flattens them. However, some of the forms
run javascript for validation when opened which generally does something
along the lines of disabling part of the form depending on user input. The
PDFs were once where the users entered the data, but now that the HTML
does that, there's no need for the PDFs to do so, especially if they're
flattened and everything is disabled. But the javascript that remains
causes erros because the form objects no longer exist.
Open up the PDF and see where the scripts are - /Names, /Page, etc.
Then you can use the lower level APIs in iText to remove that entry.
Leonard
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED]>
Chief Technical Officer <http://www.pdfsages.com>
PDF Sages, Inc. 215-938-7080 (voice)
215-938-0880 (fax)
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions