Closed lukaszkulinski closed 3 years ago
Hello, I have a 7 step form. I need to reset all next steps if user go back and change something. For example: user go to step 6, then back to step 2 and change one field so I need to reset all steps after step 2 and recreate them again.
Use a PostBindFlowEvent to call $this->invalidateStepData($this->getCurrentStepNumber() + 1).
$this->invalidateStepData($this->getCurrentStepNumber() + 1)
Hello, I have a 7 step form. I need to reset all next steps if user go back and change something. For example: user go to step 6, then back to step 2 and change one field so I need to reset all steps after step 2 and recreate them again.