I'm building out a form for our HR department and I'm having some issues getting a rule to function correctly. I have have drop down control that's connected to a choice column named Type of Search with 3 options
I have some controls in a panel that will only be used for Full or Limited searches so I'm trying to configure a rule to hide the panel. I've tried the following syntax
All result in the panel being hidden, but doesn't show when Limited or Full is selected
I have another panel that is hidden unless TypeofSearch equals Emergency which works fine.
I'm new to Nintex, so I'm sure I'm missing something simple. Any suggestions? Thanks!
Solved! Go to Solution.
So you want to hide the panel only when Type of Search <> "Full" AND Type of Search <> "Limited"?
You have an OR. I think you need an AND. Wouldn't it be simpler to just hide when Type of Search = "Emergency"?
I have created a quick form with two panels. Panel one "Full or Limited" has this rule:
and(not(equals(TypeofSearch,"Full")),not(equals(TypeofSearch,"Limited")))
Panel two "Emergency" has this rule:
not(equals(TypeofSearch,"Emergency"))
Seems to do the trick?
Thanks for the response.
I only want the panel to show when Type of Search is "Full" or "Limited". The reason I didn't hide it only when emergency is selected is because the drop-down doesn't have a default value so I assumed it would be visible initially. I didn't want to have a default value on the drop-down because I want to ensure users choose a value.
and(not(equals(TypeofSearch,"Full")),not(equals(TypeofSearch,"Limited")))
The above rule condition says Type of Search is not equal to Full and Type of Search is not equal to Limited. That is what you want. Our logic is slightly different as you are referring to "showing" it when in reality these rules only let you choose when to "hide" it. Give the above a whirl and see what happens?
That did the trick. Thank you so much!
you're so welcome