i have caption of checkbox change text time box checked.(basically time stamp click event) i've been able change milliseconds have not been able format number readable time.
the code i'm using this:
checkbox1.caption.value.#text = time()
i have tried use num2time function error messages. appreciate can given.
thanks
the code i'm using this:
checkbox1.caption.value.#text = time()
i have tried use num2time function error messages. appreciate can given.
thanks
in check box's click event, can use following script (make sure language set javascript):
the first method commented-out in example. try way , try commenting third line , un-commenting second 1 see difference.
stefan
adobe systems
var onow = new date;
//this.caption.value.resolvenode("#text").value = onow.totimestring();
this.caption.value.resolvenode("#text").value = (onow.getmonth() + 1) + "/" + onow.getdate() + "/" + onow.getfullyear() + " @ " + onow.gethours() + ":" + onow.getminutes() + ":" + onow.getseconds();
the first method commented-out in example. try way , try commenting third line , un-commenting second 1 see difference.
stefan
adobe systems
More discussions in LiveCycle pre-ES (6.x and 7.x) discussions
adobe
Comments
Post a Comment