jwstl
Design Dabbler

Label Control Visiblity Rule - Based on Calendar Value

Jump to solution

I have a label control that I want to display if a calendar control contains a date within the next 14 days. By default I want to have the label control hidden, and show when the date falls within the window. So far I have not been able to find the right combination to acheive this funcationality.

 

2019-08-21_13-13-24.jpg2019-08-21_13-21-30.jpg

0 Kudos
Reply
2 Replies
SimonMuntz
Nintex Employee
Nintex Employee

Re: Label Control Visiblity Rule - Based on Calendar Value

Jump to solution

Hi,

 

The following formula will do the trick if you use a hide rule on your label.

not(and(greaterThanOrEqual(StartTime,{Common:CurrentDate}),lessThanOrEqual(StartTime,dateAddDays({Common:CurrentDate},14))))

Please see the attached form example if you require.

View solution in original post

0 Kudos
Reply
jwstl
Design Dabbler

Re: Label Control Visiblity Rule - Based on Calendar Value

Jump to solution

works perfectly!

0 Kudos
Reply