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 / Visible Property If St...
Power Apps
Answered

Visible Property If Statement

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all, 

 

Trying to get a text label to be visible only when

  • Tab "Status" is selected >    If(varTab="Status", true, false)
  • When DataCard 27 is Blank >   If(IsBlank(DataCardValue27.Text),true,false)
  • When form is in View mode

*****************

Not when form is in - (don't want form to visible)

Edit or New mode

 

I can't seem to get this to work 

 

 If(frmStatus.Mode = FormMode.New, false,true) && If(frmStatus.Mode = FormMode.View,false,true) && If(frmStatus.Mode = FormMode.Edit,false,true) && If(IsBlank(DataCardValue27.Text),true,false)

 

ANy help would be appreciated 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,781 Most Valuable Professional on at

    Hi @Anonymous ,

    You do not need any of the If/true/false - try this in the Visible

    varTab = "Status" && Len(DataCardValue27.Text) = 0 && frmStatus.Mode = FormMode.View

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    WOW! thanks so much,worked like a charm!! Was pulling my hair out for an hour!

    Much appreciated and will have to dig in the the "Len" function.

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard