pluginaweek/state_machine

custom actions

Opened this issue · 0 comments

Hello,

i have a question about custom actions.
For example i have a few states , one of the states is 'summary' step/state. And there are fields , which can produce errors on page submit.
But how can be done custom action, which will redirect to another state , only if summary will get errors?
because i want to have two identical steps redirecting between selfs for example from summary to summary2 and from summary2 to summary.

thank you very much!