These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

xdp & javascript problem

lvostinar
Registered: Nov 16 2010
Posts: 2

Hi,
I have this simple xdp file:
 
<?xml version='1.0' encoding='UTF-8'?>
<?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>

app.alert({cMsg: "yes!", cTitle: "i am showing"});

lll1
sss1

 
I would expect that the javascript is executed and the message is displayed. However that is not the case. I am trying to add some javascript code in there in order to put all fields to readonly. What am I doing wrong ?

lvostinar
Registered: Nov 16 2010
Posts: 2
sorry, the xml doesn't show well, should be:

xdp
template (only with a dummy subform with ready event)
dataset to populate fields
pdf with link to actual pdf


the problem is the javascript is not executed