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 / 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

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

Kalathiya 428

#2
WarrenBelz Profile Picture

WarrenBelz 374 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard