I have a date/time field.
I want to initialize it with the current date.
In the initialize event of this the field, I have an issue with this script :
xfa.host.messageBox("before new date()");
var d1 = new Date();
xfa.host.messageBox("after new date()");
Any ideas will be appreciated.