cancel
Showing results for 
Search instead for 
Did you mean: 
sscrush
Nintex Newbie

Panel Show/Hide with 4 choices in a rule.

Jump to solution

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?

Labels: (1)
0 Kudos
Reply
6 Replies
Automation Master
Automation Master

Re: Panel Show/Hide with 4 choices in a rule.

Jump to solution

Can you not just say not choice A?

Reply
sscrush
Nintex Newbie

Re: Panel Show/Hide with 4 choices in a rule.

Jump to solution

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.

Reply
sscrush
Nintex Newbie

Re: Panel Show/Hide with 4 choices in a rule.

Jump to solution

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.

Reply
Automation Master
Automation Master

Re: Panel Show/Hide with 4 choices in a rule.

Jump to solution

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.RuntimeFuncti... 

0 Kudos
Reply
sscrush
Nintex Newbie

Re: Panel Show/Hide with 4 choices in a rule.

Jump to solution

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

0 Kudos
Reply
Automation Master
Automation Master

Re: Panel Show/Hide with 4 choices in a rule.

Jump to solution

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 

0 Kudos
Reply