Skip to main content
Nintex Community Menu Bar

Validate Date against Multi Select Choice within repeating section

  • September 27, 2017
  • 3 replies
  • 17 views

Forum|alt.badge.img+11

Hi 

Within a repeating section on a desktop form in 2010, I have a date/time control and a multi select choice control. 

I don't think the problem is because they're in a repeating section. I took the controls out and still had the same problem. 

I want to validate the following:

If the date is not empty and nothing is selected in the multi choice control, produce error message. 

208610_pastedImage_1.png

I've tried a number of different rule options, however I believe the following should work:

208611_pastedImage_2.png {Self} is the Action Taken

I've also tried:

and(!equals(Date,''),equals({Self},''))

and(Date!='',equals({Self},''))

and(!Date=='',equals({Self},''))

I've also tried substituting 'and' for &&

3 replies

Forum|alt.badge.img+5

Hi Joanne Morris‌,

Where do you apply the rule?
Try to use the Validation rule below on the checkbox control.

isNullOrEmpty({Self})&&not(isNullOrEmpty(DustAlarmsDateTime))

I've tried this rule outside and inside of a repeating section.
It works properly.
p/s: Do not copypaste the rule formula above. Build it as per above inside Rule Formula Builder. happy.png

Please let me know what is your result.

Forum|alt.badge.img+11
  • Author
  • October 3, 2017

Thanks Abdullah, that worked. 


Forum|alt.badge.img+5

Good to know it worked for you happy.png