Expand my Community achievements bar.

SOLVED

How to programmatically set formatted javascript dates for validation?

Avatar

Level 4

How does one programmatically set formatted javascript dates for validation?

"12/31/2011" does not seem to work?

1 Accepted Solution

Avatar

Correct answer by
Level 4

ourDate.rawValue = "2011-12-31";  // works

NOTE:  if you have a hierarchy issue you may need something like

root.body.table.detail.ourDate.rawValue = "2011-12-31";

View solution in original post

7 Replies

Avatar

Correct answer by
Level 4

ourDate.rawValue = "2011-12-31";  // works

NOTE:  if you have a hierarchy issue you may need something like

root.body.table.detail.ourDate.rawValue = "2011-12-31";

Avatar

Level 4

Still wish they'd make these forum windows so they accept copy and paste.  I'm using Windows 7 / ie 10 and have various adobe readers on my system ....  Does anyone read this at all?

Avatar

Level 10

Yes but the answer is to the discretion of the user if they have the time and if they know any information that can be usefull... unfortunately i've just seen your post I could have helped you for this

Avatar

Level 4

Just thought I'd post this if anyone out there faced the same problem.  I'm assuming you are talking about helping with the date formatting question and not copying and pasting.  No one seems to address this issue.  These windows should have copy and paste....

Avatar

Level 4

Yes.  Control-v just doesn't work in this window.  It normally works in my ie10 window on WIndows7.....

Avatar

Level 10

Mhmm.. I don't know it work for me on ie/chrome/firefox