# Repeater options - CRM Object Module

**URL:** <https://community.hubspot.com/t/repeater-options-crm-object-module/72623>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [January 11, 2023, 6:22am UTC](https://community.hubspot.com/t/repeater-options-crm-object-module/72623 "2023-01-11T06:22:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke-Simp](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/luke-simp/32/74544_2.png) [@Luke-Simp](https://community.hubspot.com/u/Luke-Simp)\
**Post date:** [January 11, 2023, 6:22am UTC](https://community.hubspot.com/t/repeater-options-crm-object-module/72623/1 "2023-01-11T06:22:34Z")

</div>

Hi Hubspot community,

I believe this is a simple issue with the for loop statement I’m trying to do but I’m struggling to get the list of subjects to output. Can output fine until I turn on the repeater option. Any thoughts?

Thanks in advance.

```lia-code-sample
<div class="container">
<button class="accordion">{{module.heading}}</button>
<div class=accordion-content style="padding-top:20px;">
<div>{{ module.text_above }}</div>
<div>{% for subject_page_url in module.subject.properties.subject_page_url %}{% for name in module.subject.properties.name %}<a href="{{ module.subject.properties.subject_page_url }}">{{ module.subject.properties.name }}</a>{% endfor %}{% endfor %}</div>
<div>{{ module.text_below }}</div>
</div>
</div>

```

 ![accordion issue.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/f/1ffd9f03f370cbbc39ea1b1e790d64b763d30622.png)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 11, 2023, 5:27pm UTC](https://community.hubspot.com/t/repeater-options-crm-object-module/72623/2 "2023-01-11T17:27:23Z")

</div>

Hi, @Luke-Simp 👋 Thanks for reaching out! Hey, @alyssamwilie @Sjardo, do you have any experience or tips you can share with @Luke-Simp?

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [January 11, 2023, 5:44pm UTC](https://community.hubspot.com/t/repeater-options-crm-object-module/72623/3 "2023-01-11T17:44:07Z")

</div>

The screenshot doesn’t show the field names or the fields you have in Subject so not sure if this correctly references those fields but you want to loop through **module.subject** and access the url and name through the for loop item ( **subject** ) :

```lia-code-sample
{% for subject in module.subject %}
 <a href="{{ subject.properties.subject_page_url }}">
 {{ subject.properties.name }}
 </a>
{% endfor %}

```

If you’re in the design manager you can click _Actions \> Copy Snippet_ on a repeater group and it’ll copy to your clipboard a for loop of the group that you can then paste into your HTML.

 ![copysnippet.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/8/c8067c02ff58ca722e64a249eaf4b600ba4fd22a.png)

---

<div class="post-metadata">

**Author:** ![Luke-Simp](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/luke-simp/32/74544_2.png) [@Luke-Simp](https://community.hubspot.com/u/Luke-Simp)\
**Post date:** [January 11, 2023, 11:04pm UTC](https://community.hubspot.com/t/repeater-options-crm-object-module/72623/4 "2023-01-11T23:04:47Z")

</div>

Thanks for the solution and heads up about the copy snippet. A combination of both helped me to solve it. You’re a legend!
