Expand my Community achievements bar.

importtextdata on the event initialize doesn't work

Avatar

Former Community Member
Hello



I want import a data into pdf form. I am using this:

var doc = event.target;

doc.importTextData("config.txt", 0);



If I use this on the event doc ready this works perfectly, return 0.



If I execute in initialize the function also returns 0 but doesn't fill the fields



Somebody know what is the problem?



I need import the data on the event initialize because I use this data in this event.



Thanks a lot
0 Replies