# Multiply forms?

**URL:** <https://www.ruby-forum.com/t/multiply-forms/165696>\
**Category:** Rails\
**Created:** [April 16, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/multiply-forms/165696 "2009-04-16T14:46:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![remco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@remco](https://www.ruby-forum.com/u/remco)\
**Post date:** [April 16, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/multiply-forms/165696/1 "2009-04-16T14:46:26Z")

</div>

Hi,

On my homepage i want a form with the element drop-down-box. When the  
visitor select one of the values from the drop-down-box and click on  
submit, the visitor go’s to the details-page where the value from the  
drop-down-box is filled in and the visitor are suggested the complete  
the form.

I am a newbie…so can someone put me in the right direction

Thanks…Remco

---

<div class="post-metadata">

**Author:** ![remco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@remco](https://www.ruby-forum.com/u/remco)\
**Post date:** [April 16, 2009, 2:54pm UTC](https://www.ruby-forum.com/t/multiply-forms/165696/2 "2009-04-16T14:54:25Z")

</div>

in the view:

\<% form\_tag :action =\> ‘redirect’ do %\>  
\<%= select\_tag :target, [‘option1’, 'option2, ‘option3’] %\>  
\<%= submit\_tag “go” %\>

in the controller:

def redirect  
redirect\_to :action =\> params[:target], :controller =\>  
‘controller\_name’  
end

that help at all?

On Apr 16, 1:46 pm, Remco S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
