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 / Form - hide field if o...
Power Apps
Answered

Form - hide field if option is selected in drop-down?

(0) ShareShare
ReportReport
Posted on by 157

I am new to power, apps and am no programmer. So far so good. I have a drop-down field in a form that looks like the below:

 

Transmittal-for.png

I want to make it so that if the end-user select either Project Approval (No Consultees) OR PFC Approval (Both) then some additional fields will become visible, but will otherwise remain hidden. I know how to do this for just 1 option, and it works perfectly, below:

 

If(
DataCardValue8.Selected.Value = "Project Approval (No Consultees)",
true,
false
)

 

However, I am unsure how to make it happen for more than 1. I found this resource: https://manueltgomes.com/reference/powerapps-function-reference/powerapps-if-function/ but it doesn't work:

 

 If(DataCardValue8.Selected.Value = "Project Approval (No Consultees)" && DataCardValue8.Selected.Value = "PFC Approval (Both)", true, false)

 

Please can someone help?

 

I feel like this should be really easy.

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @FreddieV 

     

    DataCardValue8.Selected.Value = "Project Approval (No Consultees)" || DataCardValue8.Selected.Value = "PFC Approval (Both)"

     

    in the Visible property of the cards that you want to hide/show

    There is no need for the If() since this formula results in true  if either condition is true.  The || is the same as OR

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard