SilverStripe\MultiForm\Forms\MultiForm::getCompletedStepCount
Number of steps already completed (excluding currently started step).
The way we determine a step is complete is to check if it has the Data field filled out with a serialized value, then we know that the user has clicked next on the given step, to proceed.
Signature
public function getCompletedStepCount()
Returns
- int
Line | Task |
---|---|
698+ | Not sure if it's entirely appropriate to check if Data is set as a way to determine a step is "completed". |