Default current date and time
I am able to make the current date and time populate a field. However, I would like for it to allow the user to enter a date and time, and if nothing entered then default to the current date and time. Is this possible?
Current code I am using is this:
this.getField("CompTime").value = util.printd("mm/dd/yyyy HH:MM", new Date());
This gives me current date and time, but it cannot be changed.
