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 / Hide Field depending o...
Power Apps
Unanswered

Hide Field depending on my dropdown value

(0) ShareShare
ReportReport
Posted on by 34

Hello

I have a drop down menu and when my user selects a value, I want my comment field to disappear only if the value in the drop down menu starts with XX. I have many XX values like XX.CSS, XX.CA, etc. So I need to check the beginning of my value to hide the element or not. I tried with filters or if but it doesn't work. If you have any ideas :  See pictures below :

visible.PNG

 

notvisible.PNG

 

Categories:
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi,
    You can set the visible property of Comments textbox datacard to below formula - 
    If(StartsWith(WBSDropdownDataCardName.Selected.Value, "XXX"), false, true)

  • AntoineOA Profile Picture
    34 on at

    Nice thank you so much!!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard