Skip to main content

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.

Hi Tina Sikes‌,

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


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.

219647_pastedImage_4.png

Save your properties and your validation should work.

219648_pastedImage_5.png

Best regards

Enrico


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


Reply