Skip to main content
Nintex Community Menu Bar

Using 'And' rule to hide panel

  • August 6, 2019
  • 3 replies
  • 17 views

Forum|alt.badge.img+1

Afternoon all,

I need some help. I am trying to unhide a panel when a certain selection has been made from a list lookup control AND a certain selection has been made from a choice control.

The list look up name is 'PrimaryContactReason' and the selection i require to be made for the rule is "Product Advice" (2nd in the list option).

The choice name is 'OnlineAttempt' and the selection i require to be made for this is "Yes".

I have tried using:

and(OnlineAttempt !='Yes',PrimaryContactReason !='2;#Product Advice')

and variations to this however the rule acts on the list look up selection without waiting to see what the other selection was made in the choice control.

You help would be greatly appreciated.

Thanks

3 replies

Forum|alt.badge.img+16
  • August 6, 2019

Try using PrimaryContactReason contains ('Product Advice')


Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • August 6, 2019

The following will work as I tested it in my environemnt based on the description of your setup.

not(and(equals(OnlineAttempt,"Yes"),equals(parseLookup(PrimaryContactReason,true),"Product Advice")))

My sample form attached.  Just reconfigure the Lookup to point to your lookup list if you would like to test.


Forum|alt.badge.img+1
  • Author
  • August 7, 2019

Simon,

Thank you so much for this. This works an absolute treat.