hallo,
i have a form like this:
<% form_tag :action => "foo1"
<%=select_tag ("user", "name",
options_for_select(someArray))%>
<%=select_tag ("formdata", "language1",
options_for_select(someArray))%>
<%=radio_button ("formdata", "language1_level, 3%>
<% end>
the controller has 2 functions, foo0 (displays the formular) and foo1
(validates data in params[:user])
if there is something wrong it renders the foo0 again, but only displays
the entered contend of params[:user].
HOW do i get to display the enterd data for params[:formdata]. All
formdata is not part of the model user, so i can''t just change that.
Hopefully you understand. This text is somehow messy.
thx
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---