Support

Account

Home Forums Add-ons Repeater Field Add active class to self row – repeater field Reply To: Add active class to self row – repeater field

  • Hi @magnusnesse

    The code you shared lists the titles for each row. If you want to set a different class for each row, you need to modify the code that lists the rows, not the titles.

    If you don’t understand the logic, please learn more about foreach here: http://php.net/manual/en/control-structures.foreach.php. You can also hire a developer to help you out with it. I’d recommend looking for one on https://studio.envato.com/ or https://www.upwork.com/.

    I hope this makes sense.