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
BedrockMission!

Learn More

View all

Sign in to view all badges

How do I perform range checking?

Avatar

Avatar
Level 1
FrameUserToo
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
FrameUserToo
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
FrameUserToo
Level 1

15-07-2015

I've got some programming experience (from a long time ago), but I'm having some real problems understanding how to perform range checking on a date field in LiveCycle Designer 9.

I more-or-less understand Javascript, but the object model is giving me fits. The field is dtHireDate, and it's a "standalone" field, i.e. it's not in a subform (other than page 1). I need to perform three checks:

  1. Make certain the date is a date, in format mm/dd/yyyy.
  2. It cannot be earlier than the birthday of the company.
  3. It cannot be later than the current date.

I will need this code for several forms I've created. Any help would be greatly appreciated.

Thanks.

Accepted Solutions (0)

Answers (0)