I'd like to include a "clear" button in a timesheet, but since there is a lot of information being typed into the form, there has to be an alert confirming whether or not they really want to clear, just in case someone accidently presses the button. Is this possible? I'm working in Acrobat 6 Pro.
var answer = app.alert("Are you sure you want to clear this form?", 2, 2);
if(answer==4)this.resetForm();