Hallo.
I've asked this question on stack overflow forum but the proposed solution doesn't work. Maybe I didn't describe enough my problem, so I decided to clarify and ask again on this forum.
I need to build a form that will include a mechanism that will allow counting the number of repeating grid, and the final count will be passed in control outside the repeating grid.
I can't just use count ($ control) expresion because by default the repetition grids in the form are covered and outside control should show 0. Counting should start after uncover repeated grid by checking checkbox.
I expect 0 in controls on right.
In tgis step firm works correct.
Below is the expression I had got from you to reach expected effect but the counting doesn't start (screen).
if ($ checkbox / string () = 'true')
then count ($ first-name)
0 more
It thi step is ok.
No counting. Still 0.
I tried to change the data type settings in checkbox and x cells in different configurations (String, Inteher). Nothing has changed.
Where is the problem?
Sent from the
Orbeon Forms community mailing list mailing list archive at Nabble.com.