Setup Your Mac aims to simplify initial device configuration by leveraging swiftDialog and Jamf Pro Policy Custom Events to allow end-users to self-complete Mac setup post-enrollment.
Do you hear that your users are forcing through the setup too quickly, perhaps clicking wrong things, or not making informed decisions on how long the configurations are going to take? How often do you hear them say "this process takes too long" only to find out they picked your most complete configuration and have no idea what you're talking about when you ask how long did the estimations take? Do you wish your users would just wait the few seconds for the estimations to appear before clicking through your input requirements? Well now you can make that happen, with the all new "Lock Continue Button" option!
If you set the "lockContinueBeforeEstimations" variable to true, the "continue" button (button1 of the dialog window, it doesn't matter what text was given for it) will be disabled when the dialog window opens up by default, and will not become enabled until after the estimations are written to the screen. This effectively forces the users to have to wait until they are able to be informed on how long the process could take.
Changes to code:
Added variable to enable this setting at the top (true|false).
Added if statement to UserInput welcomeDialog opening code to see if setting is true, if so then opens dialog window with "button1disabled" parameter
Added if statement in checkNetworkQualityConfigurations function to see if setting is true, if so then enables button1
Do you hear that your users are forcing through the setup too quickly, perhaps clicking wrong things, or not making informed decisions on how long the configurations are going to take? How often do you hear them say "this process takes too long" only to find out they picked your most complete configuration and have no idea what you're talking about when you ask how long did the estimations take? Do you wish your users would just wait the few seconds for the estimations to appear before clicking through your input requirements? Well now you can make that happen, with the all new "Lock Continue Button" option!
If you set the "lockContinueBeforeEstimations" variable to true, the "continue" button (button1 of the dialog window, it doesn't matter what text was given for it) will be disabled when the dialog window opens up by default, and will not become enabled until after the estimations are written to the screen. This effectively forces the users to have to wait until they are able to be informed on how long the process could take.
Changes to code: