Hi i use various forms and one controller. view code <% form_tag :action => ''wizard'', :stage => @next_stage do %> controller code: def wizard if params[:stage].nil? ... elsif params[:stage].to_i == 1 ... elsif params[:stage].to_i == 2 ... elsif params[:stage].to_i == 3 ...... elsif params[:stage].to_i == 4 .............. else ... end render :template => ''wizard\\stage''+@next_stage.to_s end but i got error and first form values only saved in databases so please help me Thanks balaji --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---