New Forum | Previous | Next | (P-PDF) Developers
Topic: Disabling a button in a form
Conf: (P-PDF) Developers, Msg: 52839
Date: 5/29/2002 04:54 PM
Answers to your two questions concerning disabling and timing:
To make a form field read only, effectively disabling it, add the following
this.getField("buttonName").readOnly = true;
To time a form/field. Create two button fields (Start and Stop).
dStartTime = new Date();
app."Time elapsed = " + (new Date() - nStartTime) * 1.0 / 1000 + "