Step: Provide some settings for the first application
Step: Provide some settings for the second application
Step: A summary of what was provided in the all the steps.
I want to have the ability to validate each control in a UD Stepper page.
For example are all textboxes filled with a value. If not do not continue
to the next step. Show the errors.
At the moment if I want to have validation I wrap all controls into a form.
But in A UDStepper control It does not make sense to wrap every step into a form,
because I then have buttons for submitting the form and I have the buttons
for continuing to the next page.
That’s very confusing for the user and for me as well, because I do not know witch button to click and if I submit the form I have to click next to proceed to the next step.
Furthermore the buttons for the stepper control are not correctly aligned. I think they are missing some margin from the left of the screen.
Do you have a date when the validation of the stepper control will be implemented?
Do you have any plans to implement a validation parameter on the control itself?
If you need sample code for review the stepper please tell me.
The UI experience would be that the user would click next and then the validation script block would run. If the validation result was not successful, then an error would be shown on the current step and the user would not be able to advance.
In terms of date, I think we could make this a 1.3 thing and have it released sometime this month.
It will be a nightly Universal build that will include this update. You’ll be able to just upgrade Universal. If you don’t want to upgrade Universal completely, the framework will be part of the Universal ZIP file and you’ll be able to add that framework to your existing Universal instance for testing.
That’s the right build. Did you delete the existing frameworks out of %ProgramData%\PowerShellUniversal? Nightly builds don’t increment the framework version so it won’t deploy the new assets.
I’m trying to figure out the logic to get this validation to work on latter steps. For example, I am wanting the validation to occur on Step 3. When I put in the validation code, though, it doesn’t let me get past step one. I’m sure there is something logical I can do around this, but for some reason just don’t know the best way to accomplish it.