Skip to main content
Nintex Community Menu Bar

form formatting rule date range

  • May 29, 2019
  • 2 replies
  • 26 views

Forum|alt.badge.img+1

I am trying to change the color of a label based on the number of days till a field date and am having issues and was wondering if anyone has done anything similar? 

e.g.:

meetingDate = 9/13/2019

today field (by workflow) = today

calculated field (daysTill) = meetingDate - today

 

rule Green 

daysTill >= 30 (format cell green) ! works perfectly

rule Yellow

daysTill >= 6 && <= 29 (format cell yellow) ! kills the form

rule Red

daysTill >=0 && <=5 (format cell red) ! agan kills the form 

 

I tried just having  the less than statements for both red and yellow but red will not appear. Does anyone have any advice?

2 replies

Forum|alt.badge.img+10
  • May 30, 2019

I think you should use
daysTill >= 6 && daysTill <= 29
daysTill >=0 && daysTill <=5

Forum|alt.badge.img+1
  • Author
  • May 30, 2019
Awesome works perfectly! THANKS!