Forum: Ruby on Rails Handling multiple form data

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
charan (Guest)
on 2009-05-31 15:23
(Received via mailing list)
HI guys


I am using different forms with respective controller,model and
view.If the user press back button in the browser,after submitting
the form data.How do we handle such scenario..

chandra sekhar
Maurício L. (Guest)
on 2009-05-31 19:54
(Received via mailing list)
If you did a redirect after receiving the posted form, the user will
be redirected to the form page, it will not re-submit the data.

-
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/
(en)
charan (Guest)
on 2009-06-01 17:59
(Received via mailing list)
thanx for the reply

its not that way

let me explain u..

if the user submits the form (submitted data stored into db) and moves
to next form ,now the user press back button and again press the
submit button.???.now the data is stored 2 times in DB....



im planning to handle in such a way that,all the form data to store in
objects, at the end of all forms the data should be written into DB


chandra sekhar

On May 31, 8:53 pm, Maurício Linhares <removed_email_address@domain.invalid>
This topic is locked and can not be replied to.