Skip to main content

Merge tag {sequence}

Row number. The entry's row number in the View. Custom Content fields only.

On the test entry, {sequence} gives 1.

ProductGravityView
RequiresGravityView 2.4 or later
Needs an entryYes. Its value comes from a form entry.

Modifiers

Change the output

ModifierDescriptionRequires
startStart the sequence at N. Written start=10. With a colon, a tag ending in :10} is read by Gravity Forms as field 10 and shows that field's value instead.GravityView 2.4 or later

Other settings

ModifierDescriptionRequires
reverseCount down instead of up. GravityView 2.4 or later

Examples

Output from the real plugin code, run on a test entry.

Merge tagOutput
{sequence}1

With a modifier

Merge tagOutputWithout the modifier
{sequence:reverse}21
{sequence:start=10}101