Open mloru opened 3 years ago
Hey there!
Currently, there's no way to dynamically register or skip entire steps but it's something I'm considering adding in the future. The main difficulty is that it makes the redirection handling between the different steps a lot more difficult because you now also have to consider that a step should be skipped entirely.
Steps are now omittable, meaning you can easily write logic within a step to dynamically register it, based on any of the previous step's data.
I'd like to use Arcanist to rewrite an existing form that is pretty complicated right now. I've read the 'getting started' guide on the documentation but I'm still not sure if the package fits my needs: can I use it to write multi-step forms that are also kind of "multi-route"? To be more clear: my existing form shows/skips some steps based on the data that have been already selected. Is it possible to tell Arcanist to skip a step in a use case like this?