Add Row Numbers to Repeatable SectionsPRO

This tutorial demonstrates how to add row numbers to each repeater in a repeatable sections.

Demo

Tutorial

  1. Create a repeatable section by checking the Repeatable setting in a section.
  2. Add a Text Editor field to the repeatable section.
  3. Enter the following in the content of the Text Editor field: Row #calc(#section_row_number)

The #calc variable tells WS Form to keep the #section_row_number variable up to date each time the repeatable section row count changes.

Other Section Variables

In addition to #section_row_number, the following section related variables can be used.

VariableNameDescriptionUsage
#section_label("section_id")Section LabelReturns the section label. For more information about this variable, click here.Client-side & Actions
#section_row_count("section_id")Section Row CountReturns the total number of rows in a repeatable section. For more information about this variable, click here.Client-side
#section_row_indexSection Row IndexReturns the row index in a repeatable section. For more information about this variable, click here.Client-side
#section_row_numberSection Row NumberReturns the row number in a repeatable section. For more information about this variable, click here.Client-side