Hello everyone,

I have a little question for the community.

My situation :I want to count the number of items in a repeating section dynamically when user fills the form.

The problem :

I know how to count the number of items when the form has been submitted but I don't know how it work before the submit (when user fills the form).

I assume that I need to use javascript but I want to know if an another method exist before develop specific code.

Thanks

Théo

I don't have test JS like Vadim because I found an easier way to do this.

My method :

- In the repeating section, I add calculated value hide by another control (textbox for my form).

The parameter of calculated value controle :

Formula (inline function) : currentRowNumber(a random control in the repeating section)

Name : calc_currentRow (for exemple)

- In the form now, i simply add another calculated value with this parameters

Formula (inline function too) : count(calc_currentRow)

Name : calc_aaaa

Data type : Integer

And it work well =).

When I found this solution, I see that you can add number for every row when you do the first step but without hide the calculated value.

Hope it could be useful =) Frank Field Jan Eyres

BR

Théo