Skip to main content
Nintex Community Menu Bar

How can I validate begin date and end date?

  • Oct 18, 2018 7:14 PM UTC
  • 3 replies
  • 27 views
  • Translate All

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
  • Oct 19, 2018 8:10 PM UTC

Hi Tina Sikes‌,

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

Translate

Forum|alt.badge.img+12
  • Nintex Partner
  • Oct 22, 2018 12:52 PM UTC

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

Translate

Forum|alt.badge.img+2
  • Author
  • Novice
  • Oct 22, 2018 12:52 PM UTC

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

Translate