Skip to main content
Nintex Community Menu Bar

validation rule in nintex form

  • February 25, 2018
  • 4 replies
  • 29 views

Forum|alt.badge.img+1

hello

i designed a reservation form. in reserved time control I have a validation rule that reserved time should be greater than currentday or if it equals today it should be < 11 am.

but this validation rule does not work.

here is the rule I use:

greaterThan({Common:CurrentDate},{Self})

or Current Date>{Self}

{Self}== Current Date&& Current Time>"11"

4 replies

Pyae
Forum|alt.badge.img+5
  • Scholar
  • February 25, 2018

Hi Fateme,

Is your reserved time control is Date/Time or Date only?

Comparing the date should be: greaterThan({Self},CurrentDate)

But I am also thinking how to validate the time from current date time control. 


Forum|alt.badge.img+1
  • Author
  • February 26, 2018

hi

reserved time control is date only. the user does not need to enter the time of reserverd.

thanks


Forum|alt.badge.img+1
  • Author
  • February 26, 2018

greaterThan({Self},CurrentDate) doesn't work


Pyae
Forum|alt.badge.img+5
  • Scholar
  • February 27, 2018

Let's try to change Self to control name and validate if it is worked. greaterThan(ControlName,CurrentDate)