I have a User object which has about 50 fields. I don’t want all 50 fields on one form. I want several pages to span the form. How would I do that if only users/new.html.erb is all I know how to use to fill out a form. What would I use for a second page, third page, etc.?
Share
You can always create partials and load every partial with Ajax (step1, step2, …, stepN), or you can search and use a gem.
Check this railscasts:
http://railscasts.com/episodes/346-wizard-forms-with-wicked
http://railscasts.com/episodes/217-multistep-forms