I have a repeater in a repeating region.
I need each repeater to have a unique id. i.e. the repeating region item id.
Using perch_item_index returns a unique id within the region but the repeater resets this, and as all the regions appear on the page they are not unique.
Region = <perch:content id="perch_item_index" type="hidden" />
<perch:repeater id="topics">
Topic = <perch:content id="perch_item_index" type="hidden" />
</perch:repeater>
For 2 items in the region this produces;
Region = 1
Topic = 1
Topic = 2
Region = 2
Topic = 1
Topic = 2
I want something like;
Region = 1
Topic = 1_1
Topic = 1_2
Region = 2
Topic = 2_1
Topic = 2_2
So is there a way to pull in the itm id? As in the URL /perch/core/apps/content/edit/?id=35&itm=31