I’ve found a few topics related to this question but none of the answers are exactly what I’m looking for.
I would like to use the Repeater Field for creating a list of content, along with anchor links to sections in the sidebar. I’ve done this in the past by creating a textfield and entering in a ID friendly name.
Is there anyway to output the row number of a repeater field or something else that would work as an ID? Even if it requires some PHP magic that’s fine. I would like to avoid creating a separate ID field since this will be client facing.