New-Stepper’s OnValidateStep event is different from New-UDForm’s OnValidate event.
I think running closer to New-UDForm events would make more sense.
The current OnValidateStep event should change its name to OnSubmitStep and an OnValidateStep event should be created with other behavior (more details below).
OnValidateStep: should fire as soon as the user enters / selects / ticks an item in the current New-UDStep
OnSubmitStep: should behave like the current OnValidateStep event. Should be triggered when clicking the next button to go to the next page.
If you are using New-UDStep, please leave your opinion on this change.
@adam I love New-UDStep. Would this change make sense and be possible?
Product: PowerShell Universal Version: 1.5.19