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 / Button visible propert...
Power Apps
Answered

Button visible property based off of the value of a data card

(0) ShareShare
ReportReport
Posted on by 18

I have an edit form and Im trying to hide the form submit button using an if statement in the visible property.

I have tried both of these unsuccessfully:

 

If(DataCardValue14 > 0, true, false)

&

If(DataCardValue14.value > 0, true, false)

 

what am I doing wrong?Screenshot 2023-04-15 162208.jpg

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @af5555 ,

    If(Value(DataCardValue14.Text) > 0,true,false)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @af5555 and 

    @Amik 

     

      An If() statement is never required for the visible property of a control.

    Value(DataCardValue14.Text) > 0

    reduces to either true or false.  The equation is all that is required.

    @Drrickryp  

    Department of Redundancy Department

  • af5555 Profile Picture
    18 on at

    Thank you so much. would never have solved this.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard