Splitting results into groups of 5
I would like to display the results of a record set in groups of 5.
Each group would be in a div container and each item in an unordered list.
Like this:
<div>
<!-- 1-5 -->
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
<li>Item 5</li>
</ul>
</div>
<!-- 6-10 -->
<div>
<ul>
<li>Item 6</li>
<li>Item 7</li>
<li>Item 8</li>
<li>Item 9</li>
<li>Item 10</li>
</ul>
</div>
<!-- 11-15 -->
<div>
<ul>
<li>Item 11</li>
<li>Item 12</li>
<li>Item 13</li>
</ul>
</div>
Can that be done using a repeating region behaviour. Is it even possible?
Any help would be greatly appreciated.