Home Forums Add-ons Repeater Field Output Row ID with Repeater Field


Output Row ID with Repeater Field

  • Hello!

    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.


    • Elliot

    • November 19, 2013 at 5:26 pm

    Hi @emaildano

    This thread is a very good example of how you can use a variable counter as the row ID to link to parts of the page!

    Hope that helps.


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.