Skip to main content
Nintex Community Menu Bar

Panel Show/Hide with 4 choices in a rule.

  • June 29, 2017
  • 6 replies
  • 25 views

Forum|alt.badge.img+3

Hi everyone.  I have a dropdown with four choices.  I have two panels.  

Choice A will show / unhide panel 1.

Choice B, C or D will show / unhide panel 2.  B, C & D (all share the same panel input)

I have tried using a rule like this, but it only seems to take the first two into consideration:

not(or(contains(SourceType,'School / Community Agency'), contains(SourceType,'Family / Self'), contains(SourceType,'Medical / PCP')))

Medical / PCP doesn't work.

Any ideas on how to have more than two choices unhide a panel?

6 replies

Forum|alt.badge.img+16

Can you not just say not choice A?


Forum|alt.badge.img+3
  • Author
  • June 29, 2017

No, because both forms are hidden from the start.  If they pick choice a, panel 1 shows, if they pick b, c, or d, panel two should show.


Forum|alt.badge.img+3
  • Author
  • June 29, 2017

Yes, you are correct.  I am sorry because I am a newbie to these forms.  Thank you very much for your advice. It worked exactly as I needed.


Forum|alt.badge.img+14
  • Scholar
  • June 29, 2017

just that you avoid the same mistake in future: your formula couldn't work since or() function can only accept 2 input arguments!

check documentation  http://help.nintex.com/en-US/nintex2013/help/#Forms/RootCategory/Designer/Nintex.Forms.RuntimeFunctions.htm%3FTocPath%3D… 


Forum|alt.badge.img+3
  • Author
  • June 29, 2017

Thank you, I appreciate that.  Is the rule language proprietary or can I study this language outside of nintex?


Forum|alt.badge.img+14
  • Scholar
  • June 30, 2017

in general, "rule language" is based on javascript syntax. so you might want to look on javascript basics to understand it better.

plus it introduces some own builtin functions that you can find described in online help or on help portal Documentation