UDStepper make something happen when clicking next?

So I have a New-UDTextbox that I want to save to a Sesson variable but as it don’t have -OnChange or similar I want to use the “next” button on the UDStepper for it.
Is it possible to do that somehow?

@Adam is it possible to interact with the “Next” button?

I ended up using -OnValidateStep to populate the property in my pscustomobject and it worked like a charm :slight_smile:

1 Like