Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to programmatically set formatted javascript dates for validation?

JosephDoggie
Level 4
Level 4

How does one programmatically set formatted javascript dates for validation?

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

1 Accepted Solution
JosephDoggie
Correct answer by
Level 4
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

0 Replies
JosephDoggie
Correct answer by
Level 4
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

JosephDoggie
Level 4
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?

Magus069
Level 10
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

JosephDoggie
Level 4
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....

JosephDoggie
Level 4
Level 4

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

Magus069
Level 10
Level 10

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