Consider 5 checkboxes A,B,C,D,E in a screen and a button.
Each checkbox has two properties - Enabled and Checked
The checkboxes can either be enabled or disabled
I need an If condition which will do the following,
-
If say only 3 checkboxes are enabled and all three are checked by an user, an uninstallation will happen(on click of the button)
-
If say only 3 checkboxes are enabled and only one is checked by an user, the uninstallation should not happen
-
If say only 1 checkbox is enabled but it's not checked then uninstallation should not happen but if that 1 enabled checkbox is checked then uninstallation should happen.
-
If none of the checkboxes are enabled, then uninstallation should happen.
Note: Uninstallation will happen in the onClick of the button.
How do I devise an If Else condition for this scenario? This has to be done in VBScript? Thanks for the help.
Aucun commentaire:
Enregistrer un commentaire