I need to create a number of multi-step forms for creating models.
Currently i’m looking at http://www.bigbold.com/snippets/posts/show/277
As a solution. Are there any other methods you guys would recommend?
Are
there any reusable (dry) methods of creating multiple multi-step forms?
Alex,
You may be interested in the acts_as_wizard plugin:
http://blog.seesaw.it/pages/toolbox
I haven’t tried it myself but it seems like it might fit your
requirement.
Hammed
i tried acts_as_wizard about 3 weeks ago and was having a lot of
problems.
many people have asked this same question on the list and another
popular
answer is to store everything in the session and save it at the final
step.
i decided to go with the context plugin which took me a little work to
make
the whole process DRY in terms of re-using existing views/controllers.
but i
managed to get a multipage registration process in place fairly easily.
http://codefluency.com/articles/2006/07/01/rails-views-getting-in-context/
ed