Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skippable steps #11

Open
mloru opened this issue Jun 14, 2021 · 2 comments
Open

Skippable steps #11

mloru opened this issue Jun 14, 2021 · 2 comments

Comments

@mloru
Copy link

mloru commented Jun 14, 2021

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?

@ksassnowski
Copy link
Collaborator

ksassnowski commented Jul 1, 2021

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.

@ercsctt
Copy link
Contributor

ercsctt commented Jul 3, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants