Skip to main content
Nintex Community Menu Bar

Validation rule if current or future month is selected?

  • October 24, 2019
  • 2 replies
  • 22 views

Forum|alt.badge.img+2

Hi,

 

I want to be able to trigger an error message if the selected month = current or future date(month).

Right now I have 

Control is invalid if:

Service Date(Column) == fn-FormatDate(Current Date,MM)

 

Im sure there is a better way to write this rule but would like some help.

Thank you.

2 replies

Forum|alt.badge.img+12
  • Scholar
  • October 24, 2019

@SpenSouv ......what's the value you get from service date? Complete date with time or just the month and if it's just the month then what's the value?

 

Also in formatdate function MM should be in double quotes i.e. "MM".


Forum|alt.badge.img+2
  • Author
  • October 24, 2019