Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Use of app.setInterval

$
0
0

I have a simple save function (autoSav()) in a script object (Skip). The function operates as it should when used from say, the mouse-up event on a button.; it is a trusted function to save the form back on itself.

function autoSav()

{

  var myDoc = event.target;

SavInsp(this, myDoc.path);

}

However, when trying to get the following to work: var timeout = app.setInterval("xfa.form.form1.Insp_Report.Skip.autoSav()", 10000); I get errors indicating Skip is not defined or the function is not defined. I have tried multiple syntax changes w/o a cure.

 

 

Any direction would be greatly appreciated.


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>