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 / Hide field based on ch...
Power Apps
Unanswered

Hide field based on choice column

(1) ShareShare
ReportReport
Posted on by 302

I have approve or deny.

It's in an edit form on a custom page. 

The dropdown is TFT and the Items property on the dropdown is 

Choices('Approve/Deny').
I've tried so many ways to do it. Does anyone know how to do this?
Categories:
I have the same question (0)
  • zuurg Profile Picture
    535 Super User 2024 Season 1 on at

    Are you just trying to manually set the dropdown choices to be "Approve" or "Deny"?   If so, you can use ["Approve","Deny"]

  • el5 Profile Picture
    302 on at

    no they already are approve deny

  • el5 Profile Picture
    302 on at

    i want if approve hide the other field. if deny show it

  • Robu1 Profile Picture
    1,459 Super User 2025 Season 2 on at

    Hi @el5 , 

     

    There is an existing solution within the power platform community. 

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Show-hide-form-fields-based-on-other-field-choice/m-p/2251508#M563683  

     

    If this post helps you, kindly give a Thumbs Up and if it solved your issue, Accept it as the solution to help the other members find it easily.   

       

     

    Thanks,   

       

    Robu1.   

  • zuurg Profile Picture
    535 Super User 2024 Season 1 on at

    Set the other field's visible property to: dropdownname.Selected.Value="Deny"

    You can also use Switch(dropdownname.Selected.Value,"Approved",false,"Deny",true) in the visible property if you want to be explicit for both choices.

  • el5 Profile Picture
    302 on at

    This didn't work

  • el5 Profile Picture
    302 on at

    selected.value shows an error

  • zuurg Profile Picture
    535 Super User 2024 Season 1 on at

    Gonna need more details.  Did you use .Selected.Value?   It's case sensitive.  What error did it give?

  • el5 Profile Picture
    302 on at

    says incompatible types for comparison

    This is the options for the dropdown:

    el5_0-1706912864340.png

     

     

     

  • zuurg Profile Picture
    535 Super User 2024 Season 1 on at

    What does it say after incompatible types?   Can you show what you put into the other field's visible property?

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

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard