Hi @Nick2020,
You would use the UpdateContext() function to create a context variable using the OnCheck property of the toggle.
UpdateContext({TogOn:true})
and the OnUncheck property
UpdateContext({TogOn:false})
Then, for example, you could use TogOn to control the visibility of a label instructing the user to make a choice from the Dropdown control.
If you put
UpdateContext({TogOn:false})
In the OnChange property of the dropdown control once the dropdown value was changed, the value of TogOn would be reset.
You could use TogOn to control the DisplayMode of the submit button and disable it unless your conditions are met. An example would be putting this formula in its DisplayMode property.
If(TogOn && IsBlank(Dropdown1.Selected.Value),DisplayMode.Disabled,DisplayMode.Edit)
There are many ways of playing with the context variable to alter the properties of various controls on your screen.