A client has a site with a page that uses form_remote_tag to replace a form with either a "Thanks for your submission" message or the form with an error message and a blinking effect:

<% form_remote_tag
  :url => {:action => 'submit_review', :id => @product},
  :update => 'review_form',
:complete => visual_effect(:pulsate, "review_form", :pulses => 5, :duration => 2.5) do -%>

I would like to do the same for a form on a different page, but on success instead of replacing the form with a message, I just want to redirect to another page entirely.

I have not figured out how to do this. I can change the controller code and Rails says it did the redirect, but the browser doesn't see it. Is this even possible?

Thanks,

Scott
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to