Avatar

Level 10

Hi Nith,

The JavaScript expression in the setTimeOut() method will execution in the context of the PDF Doc object so you would need to specify the absolute reference of the sayHello function.  Something like;

app.setTimeOut("xfa.form.form1.Button1.sayHello()",2000);

You will have to work out the reference to your function in your particular case.

Regards

Bruce