Skip to main content
Nintex Community Menu Bar

Panel Show/Hide with 4 choices in a rule.

  • Jun 29, 2017 6:48 PM UTC
  • 6 replies
  • 36 views
  • Translate All

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?

Translate

Forum|alt.badge.img+3
  • Author
  • Jun 29, 2017 7:06 PM UTC

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.

Translate

Forum|alt.badge.img+3
  • Author
  • Jun 29, 2017 8:21 PM UTC

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.

Translate

Forum|alt.badge.img+14
  • Scholar
  • Jun 29, 2017 9:15 PM UTC

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… 

Translate

Forum|alt.badge.img+3
  • Author
  • Jun 29, 2017 9:29 PM UTC

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

Translate

Forum|alt.badge.img+14
  • Scholar
  • Jun 30, 2017 7:25 AM UTC

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 

Translate