# Multiline input...

**URL:** <https://discuss.rubyonrails.org/t/multiline-input/29532>\
**Category:** rubyonrails-talk\
**Created:** [May 19, 2008, 12:46pm UTC](https://discuss.rubyonrails.org/t/multiline-input/29532 "2008-05-19T12:46:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [May 19, 2008, 12:46pm UTC](https://discuss.rubyonrails.org/t/multiline-input/29532/1 "2008-05-19T12:46:57Z")

</div>

Hi

Supposing i have a table Employees as follows

---

<div class="post-metadata">

**Author:** ![AndyV](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AndyV](https://discuss.rubyonrails.org/u/AndyV)\
**Post date:** [May 19, 2008, 4:12pm UTC](https://discuss.rubyonrails.org/t/multiline-input/29532/2 "2008-05-19T16:12:06Z")

</div>

It's possible to enter multiple rows of input. Check into using the array notation for your object (e.g., 'users').

However, I'd think through whether that makes sense in this particular case. You may have 100 users to add \_initially\_ and that might be a bit annoying, but is the "add a user" use case going to be used for multiple user entries very often? It sounds like an edge case.

---

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [May 19, 2008, 4:27pm UTC](https://discuss.rubyonrails.org/t/multiline-input/29532/3 "2008-05-19T16:27:13Z")

</div>

AndyV wrote:

> It's possible to enter multiple rows of input. Check into using the array notation for your object (e.g., 'users').
> 
> However, I'd think through whether that makes sense in this particular case. You may have 100 users to add \_initially\_ and that might be a bit annoying, but is the "add a user" use case going to be used for multiple user entries very often? It sounds like an edge case.
> 
> On May 19, 8:46 am, Prasanna kumar Nagasamudram \<rails-mailing-

Thanks for the response Andy.

Well im tying to devolop an application which simulates a time sheet(status report).

Where user may have to enter multiple rows of data. Say for example Project1 task1 10hrs Project1 task2 20hrs Project3 task1 5 hrs etc. and press submit button.
