Create numbering or sequencing in repeating section

  • 19 December 2023
  • 1 reply
  • 47 views

Userlevel 4
Badge +15

Step 1 - Create an integer variable to identify how many rows are in a repeating section. 

 

Step 2 - Add a number field to your repeating section and default the number to 0. 

 

Step 3 - Create a repeating section rule that updates the number field associated with that repeating section to the “count of rows” value with the integer variable you just created.

 

 

 

End Result

 

Note: The only issue with this concept, is if a row is deleted by the user, the numbering is off now. But hey, it’s something. 


1 reply

Userlevel 4
Badge +10

If you do end up needing a solution that will adjust when rows are deleted, the solution I posted here seems to work for that: 

 

It’s a bit more complicated though and relies on regular expressions - so definitely not as intuitive. 

Reply