# Foriloops with multiple rows

**URL:** https://community.silverfin.com/t/foriloops-with-multiple-rows/550
**Category:** Templates
**Tags:** drops, iterations, drop\_custom, fori\_loop
**Created:** [December 21, 2017, 7:59am UTC](https://community.silverfin.com/t/foriloops-with-multiple-rows/550 "2017-12-21T07:59:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Cedric](https://avatars.discourse-cdn.com/v4/letter/c/ecd19e/32.png) [@Cedric](https://community.silverfin.com/u/Cedric)
#### Post date: [December 21, 2017, 7:59am UTC](https://community.silverfin.com/t/foriloops-with-multiple-rows/550/1 "2017-12-21T07:59:10Z")

</div>

I’m having some problems with foriloop. Clearly I can’t use this to create two new lines at a time, but it’s really what it needs to do. Is there any other possibility? This is what I get now.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/1X/9e585b8a9aeee2f36b0214084547d30dfd30fe10.png)

I want to create a new input field for name and birthdate, everytime a name is filled in.

```auto
||{% fori kids in custom.kinderen.tenlaste %}
{% newline %}
||Naam
| {% input kids.naam %}{% endfori %}
{% newline %}
||Geboortedatum
|{% input kids.geboortedatum as:date %}

```

---

<div class="post-metadata">

### Author: ![SamVanEenoo](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/samvaneenoo/32/134_2.png) [@SamVanEenoo](https://community.silverfin.com/u/SamVanEenoo)
#### Post date: [December 21, 2017, 9:27am UTC](https://community.silverfin.com/t/foriloops-with-multiple-rows/550/2 "2017-12-21T09:27:00Z")

</div>

@Cedric change

||{% fori kids in custom.kinderen.tenlaste %}

to

||{% fori kids in custom.kinderen\_tenlaste %}

When you have custom.kinderen.tenlaste as a collection and use [kids.name](http://kids.name) in your foriloop you are going “too deep” in levels (=one dot too many).

---

<div class="post-metadata">

### Author: ![Cedric](https://avatars.discourse-cdn.com/v4/letter/c/ecd19e/32.png) [@Cedric](https://community.silverfin.com/u/Cedric)
#### Post date: [December 21, 2017, 9:30am UTC](https://community.silverfin.com/t/foriloops-with-multiple-rows/550/3 "2017-12-21T09:30:35Z")

</div>

@Sam,

Perfect!

Seems I misunderstood the error… I thought it meant I was going to deep with rows in the table… 🙄
