So far, we have been building the tools our server will use to implement a multi-step form in our Rails application. Now it is time to put them all together by creating the controller that will put those tools to use.
Blog
Building a Multi-Step Form in Rails (Part 3)
When creating a multi-step form that is controlled in the server, we have to be able to dictate the order of our steps. In this article, we will explore how to build a dynamic control-flow for our form.
Building a Multi-Step Form in Rails (Part 2)
In our quest to build a server-side multi-step form in Rails, we have already devised a way to maintain state between steps. Now we need to build the interface that will receive input and update the database record.
Building a Multi-Step Form in Rails (Part 1)
Multi-step forms are a great way to elicit a lot of input from your users with little friction. However, without a front-end framework in place, it can be hard to create one. Luckily, there are many tools available in Rails that can help you build a server-side multi-step form.
Build a User Activity Tracker with Stimulus
Without hard data, it’s difficult to know if your app delivers a satisfactory user experience. One way to discover how users use your application is through basic client-side tracking. With Stimulus, you can easily build and implement tracking software to gather basic, but telling, data on user interaction.