How do I enforce that the checkbox in a alert box is checked?
hi,
creating form message appear when form file closed. went javascript > set document action > document close , inserted following script in space provided.
var ock = {cmsg:"i agree above statement.", binitialvalue:false, baftervalue:true};
app.alert({cmsg:"the information provided in form accurate.", nicon:3, ocheckbox:ock});
i enforce checkbox ticked before 'ok' button can pressed. how should modify script?
thank you
you can use loop:
var ock = {cmsg:"i agree above statement.", binitialvalue:false, baftervalue:false};
while (!ock.baftervalue) {
app.alert({cmsg:"the information provided in form accurate.", nicon:3, ocheckbox:ock});
}
More discussions in Acrobat Reader
adobe
Comments
Post a Comment