Previous | Next | (P-PDF) Forms & FDF
Topic: readonly set by code (JavaScript) does not reset
Conf: (P-PDF) Forms & FDF, Msg: 27877
From: lkrebs
Date: 10/1/2001 06:37 PM
I am trying to disable a button on a PDF form through JavaScript. I am using:
var f = getField("Save");
f.readonly = true;
It works fine in Acrobat but if I use it from a browser (Explorer 5.5), once the property is setup I have no way of turning it back to false. It just ignores it.
The only way I found around it is to go to the PDF save it with another name and then it is back to normal (not a very effective way I know) but I used it as test. The first time I set the proper of readonly to true, same thing happens.
Any help will be appreciated. Thanks,