# Simple select .. which helper?

**URL:** <https://www.ruby-forum.com/t/simple-select-which-helper/107022>\
**Category:** Rails\
**Created:** [June 16, 2007, 7:05pm UTC](https://www.ruby-forum.com/t/simple-select-which-helper/107022 "2007-06-16T19:05:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [June 16, 2007, 7:05pm UTC](https://www.ruby-forum.com/t/simple-select-which-helper/107022/1 "2007-06-16T19:05:56Z")

</div>

I do need a simple select, but i don’t know which helper to use

I need a dropdown selector with simple values from anArray = [ “0” ,  
“2”, “5”, “10”, “15”, “25”]  
I would like to preselect according to an index 0, 1, 2, 3, 4 (index  
in the array)  
and upon selection by the user, get the selected index back…

read all the doc, good examples but always related to collections…

which helper is my friend ?

thanks

kad
