Announcements
Hello
Can anyone tell me how to add a conditional visibility to a toggle control in a gallery, via a button: OnSelect (so that the toggle control is visible only after save)?
Thanks in advance
Hello @Englishweb ,
Just add a Variable to the button (I will call it vSaved)
On the OnSelect of the Save Button
UpdateContext({vSaved:true})
On the Visible property of the toggle
vSaved
Also ensure this is reset on screen exit
UpdateContext({vSaved:false})
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Thanks....so easy when you know how!!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 416 Most Valuable Professional
11manish 205 Super User 2026 Season 2
MS.Ragavendar 128 Super User 2026 Season 2