Hi, I''m having some troubles with my form. I have a list of data(movies,games,...) and when the user clicks on add datatype, an RJS template generates a new form. I''m building a restful application. So this is the from that is inserted as a partial by my RJS template: <% form_for :datatype,datatype,:url => datatypes_url(cat.id), :html => { :method=> :POST } do |f| -%> <%= f.text_field :name,:size=>15 %><%= submit_tag "Create" %> <% end %> then it should call this action in my controller: def create puts "create datatype" end I''m just doing a puts for sake of simplicity. When I submit the form, it seems like rails is not responding at all. Webbrick won''t call the url. However, when I put this form just on top of my page (not created by my RJS template), it works perfectly. Any ideas of what I''m doing wrong? -- 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 -~----------~----~----~----~------~----~------~--~---