Avatar

Not applicable

Hello all,

I need to know about using functions in Adobe Forms.

How do I call them? Because it only works for me when I use them in the same event they are created.

Something like that:

 

function test1()

{

     xfa.host.messageBox("hello!");

}

test1();

It works fine because the declaration and calling of the function are in the same event.

How can I call functions that are elsewhere?

Thanks a lot,

Eloi