Skip to main content

We are working with repeating section in Start Form. We want to add a label or text field for Item # field in repeating section and it should be auto populate with sequence no when user add a new row. Is there any possibility for this. 

Hello there,

It is possible to create a form variable that counts the amount of repeating controls.

From there, you can create a rule that says if the index is empty (and other controls), to populate the index value (you will need to convert the int to a string first).
 


Working example:
 

 

 

Another way is to just do a loop in the workflow where you can record the row number in a separate system.

 

I have attached the workflow export below:
PzBN5KPNszJ9pRYgbyuVrrQWyhg7wRGEJRM2LCBWmh2x4LNti

 

Please let know if this resolves the question,

Anthony

 


Hello there,

It is possible to create a form variable that counts the amount of repeating controls.

From there, you can create a rule that says if the index is empty (and other controls), to populate the index value (you will need to convert the int to a string first).
 

Working example:
 

 

 

Another way is to just do a loop in the workflow where you can record the row number in a separate system.

 

I have attached the workflow export below:
PzBN5KPNszJ9pRYgbyuVrrQWyhg7wRGEJRM2LCBWmh2x4LNti

 

Please let know if this resolves the question,

Anthony

 

Thanks for your reply. It works.


Reply