Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do I build a multi step wizard in ruby with StimulusJS

Samantha O asked in Ruby

Hi GoRails,

I would like to make a multistep wizard in ruby on rails without making use of the wicked gem. Just stimulusJS and ruby :)
Could you make a tutorial about that?

Thanks in advance!

Reply

Hi Samantha,

I've used and adjusted the tabs from chris' stimulusjs-components to make my own wizard form. You can't currently target a tab using a href/id but this is something Chris will consider adding (i will add a issue for this). Not sure if this helps...

Reply

Hi Tim,
Thanks for the reply, can you provide me with a link to the stimulusjs-components of Chris? Thanks!

Reply
Reply

Thanks Tim, I will have a look at it :)

Reply

Hi Samantha O. Wondering if you ever figured out how to set this up? I am just now looking into setting up a wizard and am curious about using stimulus vs. wicked, etc. Any guidance/thoughts would be amazing. Thanks!

Reply

+1 for guidence request as well.

I also have this issue: on the multi step form, based on the answer they receive in step1, step 2 form fields will be different, etc. I guess i will give a shot at doing this via hotwire if i can't find any solution

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,329+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2024 GoRails, LLC. All rights reserved.