Check this script (Gilads' script)
I'm using this script to show/hide a field on a timer, and it works fine, but now I'd like to have the field remain visible if populated (it's a drop down). Here's the script I'm using:
if (util.printd("",new Date())=="") {
this.getField("Text16").display=display.visible;
var timeout = app.setTimeOut("this.getField(\"Text16\").display=display.hidden;", 15000);
} else this.getField("Text16").display=display.hidden;
I have this attached to a popMenu button. Is it possible to continue to use this script but to add a bit to cancel out the timer when Text16 is populated? It'll then go back to hidden when reset or when blank. Thanks guys
