Skip to main content
Nintex Community Menu Bar

How can I validate begin date and end date?

  • October 18, 2018
  • 3 replies
  • 18 views

Forum|alt.badge.img+2

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.

3 replies

Forum|alt.badge.img+5
  • Nintex Partner
  • October 19, 2018

Hi Tina Sikes‌,

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


Forum|alt.badge.img+12
  • Nintex Partner
  • October 22, 2018

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


Forum|alt.badge.img+2
  • Author
  • Novice
  • October 22, 2018

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