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

Notifications

Announcements

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,605 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard