Previous | Next | (P-PDF) PDF Accessibility
Topic: RE: Password Protect a field???
Conf: (P-PDF) PDF Accessibility, Msg: 138198
From: DHuber
Date: 8/19/2005 01:28 AM
Thanks for the replies. What I ended up doing in the interm is to create a button that calls a function requesting a password. The password was embedded into the document Javascripts.
Like so:
function Admin()
{
hide0 = this.getField("PaoliD")
hide1 = this.getField("SAdmin")
//pg 853
var cResponse = app.response({
cQuestion: "Please enter the password. Click cancel to abort.",
cTitle: "Password", });
if (cResponse == "Password") {
hide0.hidden = false
hide1.hidden = false
} else {
app."Password incorrect", 2, 2);
}
}
Its not a perfect fix, but it seems to work for now, especially after I turn of the ability to see the Javascripts. Thanks though much for the replies...