On 14 April 2010 02:57, David Zhu <dzwestwindso...@gmail.com> wrote:

> Before a user submits a form can I redirect them to a confirmation
> page with all their fields on it, and then finally, there is a final
> submit button that saves it to the database? Tanks


You could code this, yes.

You'd want to put a copy of the params hash in to the session hash and then
use that hash in your final action.

Alternatively, you could use an intermediate form as your middle page that
looks like a confirmation page but actually has a lot of hidden fields on
it.

Cheers,


Andy

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to