I have a Rails 3.2.14 app which collects call data. The new and edit action form is pretty long on one page. I'm looking to implement a multistep form that uses JS/client side processing to move along the steps. I've looked at the Wicked Gem as a way to do multi-step forms however I don't need the stateful configuration and don't want to be updating the call record with each step. I just need a clean way to split the form into steps and give an indication of the current step.
I've looked into Fuelx and its Wizard component for forms but would like to see if there are any other JS modules out there to create multi-step forms in Rails.
I realize this question may be a bit vague so feel free to edit or provide feedback. If any of this is not clear, please let me know. Just looking for suggestions or techniques on how to make this work.
After some trial and error I was able to use Fuelux to implement a multi step form within my app. Eventually I will look into building a multistep form which records the state of the record maybe using the Wicked Wizard Gem as a means for defining steps. But for now Fuelux's Wizard component works great.
来源:https://stackoverflow.com/questions/25912474/rails-multi-step-form-without-wizard-gem