Avatar

Level 3

I have a date/time field called SubmitDate. I'm trying to store the date/time into that field, just before saving the form. For some reason this JS is not working.

SubmitDate.rawValue = Date.getDate();

app.execMenuItem("SaveAs");

app.launchURL("http://Adobe.com");

Am I doing something wrong?