Skip to main content

i'm having a brain fart. I am using Nintex 2010 and I want to create a rule for a panel.

I have a form with two panels and one drop down with the following options: Red, Green, Blue, Yellow.

If a user selects Red, Panel A appears (using not(color=="Red") and hide)

If the user selects Green, Blue, or Yellow -- I need Panel B to appear and Panel A to be hidden again.

When you first come to the form, neither panel should show.

I'm not sure what the correct syntax to use is.

Can anyone help?

I believe you would want the following hide Rule for the second panel.

isNullOrEmpty(Color) || Color=="Red"

Panel2 will show by default if you do not include the isNullOrEmpty.  This works in my testing but please let me know if you need any additional help setting that up.


Thank you! This was exactly what I was looking for.


Hey - so i complicated it a bit more and now i think i need to modify my code. Here's the new scenario:

  • Dropdown (Colors) has 5 options - Red, Green, Blue, Yellow, Other
  • Form has 3 panels - A, B, C
  • All panels are hidden when the form is first visited
  • User selects Red and Panel A is the only panel visible
  • User selects Green, Blue, or Yellow and Panel B is the only panel visible
  • User selects Other and Panel C is visible

What would that rule look like?


Reply