Is there a way that I could restrict this button from completing its function if the user hasn't selected/changed the dropdown value? This way the user wouldn't be able to forget to alter the dropdown before pressing the button. Thank you.
hi @PBCBoss ,
you can do that so by writing this:
// onVisible of the screen
Set(dropdownChange,false)
// onChange of dropdown
Set(dropdownChange,true)
// displaymode of button
If(dropdownChange,DisplayMode.Edit,DisplayMode.Disable)
Yes it's quite easy. You could do either onChange or onSelect (Whatever you prefer)
Set(varClicked,true)
And in the Button on Displaymode
If(varClicked, Displaymode.Edit,Displaymode.Disabled)
and On select of the Button you can set varClicked to false
WarrenBelz
146,605
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional