cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Date validation issue

Jump to solution

Ok, I'm trying to setup a date validation to prevent someone from forward dating the control.  Essentially the value must be less than or equal to the current date.  I've setup a date control and set to Date only.  It is connected to a date column in the list.  I then created the following rule on the control:

The rule works, but for some reason I cannot put in today's date in my control.  It for some reason invalidates the control thus preventing me from saving it.  This validation needs to be in place whether or not form is new or edit mode.  Am I missing something?

0 Kudos
Reply
2 Replies
Workflow Hero

Re: Date validation issue

Jump to solution

it's because 'Control is invalid if...' formula evaluates to true. so if you supply current date in the control, the formula still evaluates to true.

you should check just for 'lessThan'

0 Kudos
Reply
Workflow Hero

Re: Date validation issue

Jump to solution

Ahh, I'm thinking backwards here.  Yep, making that change fixed it.  Thanks.

Reply