Skip to content
Discussion options

You must be logged in to vote

Hi,
Use an expression validator on the Dynamic Panel together with the built-in countInArray function.

countInArray counts items in a Dynamic Panel, Dynamic Matrix, or Multi-Select Matrix array where a specified field matches optional filter conditions. Attach a validator to the panel dynamic question (not to the inner template question) so the rule runs against all panels at once.

How countInArray works

countInArray({panelDynamicQuestion}, 'innerQuestionName', optionalFilterExpression)
  • First argument — the Dynamic Panel question reference (for example, {employees}).
  • Second argument — the name of a question inside the panel template whose value you want to evaluate.
  • Third argument (opti…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JaneSjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants