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 / Display boxes dependin...
Power Apps
Answered

Display boxes depending on input

(0) ShareShare
ReportReport
Posted on by

I have boxes that will appear if the input of another box is any variation of "yes". Is there an easier way to have all variations of "yes" in an If statement? 

This is a sample of my code that I am using:

If('Text Box'.Text="YES",true,'Text Box'.Text="Yes",true,'Text Box'.Text="yes",true)
Categories:
I have the same question (0)
  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

     

     

    Upper(Text(TextBox)) in ["TRUE", "YES", "1"]

     

     

    can remove the true and 1, just there for examples of how this can be expanded

     

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
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard