Skip to main content
Nintex Community Menu Bar

Hiding a panel based on a drop down in a repeating section

  • February 25, 2020
  • 3 replies
  • 24 views

Forum|alt.badge.img+3

I have a drop down located in a repeating section that has several different choices in the dropdown.  I have a panel below it that I need to hide until they choose something in the dropdown (anything) and then it will populate.

3 replies

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • February 25, 2020
Hi,

As the repeating section does not resize very well I do not suggest hiding a panel (or any controls) in a repeating section. You may want to just disable it instead until a choice is chosen.

Forum|alt.badge.img+3
  • Author
  • Rookie
  • February 26, 2020

The panel that I want to hide comes after the repeating section and I want to hide it based on when the choice within the repeating section is chosen.  I am new to this.  I hope that I am making sense.


Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • February 26, 2020
Hi,

What you are wanting to do will not work.
If you apply a rule to a control on a repeating section the rule will apply to that control in every row of the repeating section.
So if one choice has one value in one row and another choice has another value in another row the rule will always stick with the one that is true. You may need to rethink your solution.

When referencing a control in a repeating section it will always output as an array as there can be multiple values selected, one for each row.

This means that when you want to set a rule for a control like looking for a particular value you must check if it exists in the array.
e.g
inArray(ChoiceControl,"Option1")