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

How can I validate begin date and end date?

I have a form that has a begin date field and an end date field.  How can I validate it so that the end date cannot be prior to the begin date.  I already tried applying the following to the end date field and it didn't work.  lessthan(beginDate)

Thanks for your help.

0 Kudos
Reply
3 Replies
Workflow Hero

Re: How can I validate begin date and end date?

Hi Tina Sikes‌,

Have you checked out this How can a validate date and time thread?

Accept as Solution Reply
Workflow Hero

Re: How can I validate begin date and end date?

Hi Tina,

open the properties of your endDate control and expand the Validation section.

Now select the following options:

Compare To: Control

Compare operator: Greater than

Control to compare: BeginDate

and set a validation message.

Save your properties and your validation should work.

Best regards

Enrico

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: How can I validate begin date and end date?

Thank you Adam.  That worked.  I wonder why lessthan(beginDate) didn't work.  Isn't it basically the same as <

0 Kudos
Accept as Solution Reply