# Multiple date\_select

**URL:** <https://www.ruby-forum.com/t/multiple-date-select/108540>\
**Category:** Rails\
**Created:** [July 4, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/multiple-date-select/108540 "2007-07-04T15:15:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![athi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/dfb087/32.png) [@athi](https://www.ruby-forum.com/u/athi)\
**Post date:** [July 4, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/multiple-date-select/108540/1 "2007-07-04T15:15:40Z")

</div>

Hi,  
I tried to create 2 date fields with date\_select in ruby. But the  
names assigned to the two date fields are the same(date[year],  
date[month] and date[day] for both) when I view the page source.  
Is there any way to assign a different name to the second date\_select  
field? Or in what else way can we use two date fields in a form?

Please help.  
Thanks
