web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Variable dependent button
Power Apps
Answered

Variable dependent button

(0) ShareShare
ReportReport
Posted on by 111
How does one set button visibility to whether or not a variable is set?  I have a variable, "varSelection" that is set to the selection button in my gallery.  It will change with whatever is selected, but isn't set until the user does so.
 
This means that theoretically the user could advance without having set that variable and is thus missing a key piece of information in their submission.  I'm having difficulties finding the right path to fail proof my Next button.
Categories:
I have the same question (0)
  • Verified answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at
    hey
     
     
    can u try this in the visible property:
    !IsBlank(varSelection)
    
    if it holds a record try this:
    !IsBlank(varSelection.FieldName)
    
    if my answer helped please mark it as verified,
     
     
     
    cheers

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard