CYBER MONDAY - 30% OFF Use coupon CM30 at checkout - Learn more

Add Row Numbers to Repeatable SectionsPRO

This tutorial demonstrates how to add row numbers to 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.

Name / VariableAdditional Information
Section Label
#section_label("section_id")
Returns the section label. For more information about this variable, click here.
Section Row Count
#section_row_count("section_id")
Returns the total number of rows in a repeatable section. For more information about this variable, click here.
Section Row Index
#section_row_index
Returns the row index in a repeatable section. For more information about this variable, click here.
Section Row Number
#section_row_number
Returns the row number in a repeatable section. For more information about this variable, click here.