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 / Conditionally Hidden F...
Power Apps
Answered

Conditionally Hidden Field Help on a SharePoint List Form - When Editing

(0) ShareShare
ReportReport
Posted on by 6

Hello - I have a SharePoint List form that has 2 fields within it that are location/branch. When a user selects X location, a new field displays with a branch selection. The branches only exist for one location. So I'm just hiding the branch field using the following code: If(ComboBox1.Selected.Title="XXX",true, false). This seems to work fine with no issues. 

 

My issue is that if a user edits an entry the location still shows correctly with what was selected. But the branch field is not visible again.  Now, if they re-select X location, the branch they entered is still there. But I can't figure out why on edit the branch field isn't showing correctly.


Any help would be awesome. Thank you! 

Categories:
I have the same question (0)
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    I tested this and didn't have the same issue you are experiencing.  Is your CombBox a multi-select by any chance?   Is there a specific reason you are using a combobox rather than a dropdown?

  • harveysm Profile Picture
    6 on at

    Yeah, it is a multi. I'm using a combobox because people have the option to type something else in if none of the locations work for them.

     

    Thanks! 

  • Verified answer
    JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    I think it has to do with how the multi-select works.   Try this workaround.

     

    In the OnChange of your ComboBox set (or add) this formula

     

    Set(varXXX, Concat(ComboBox1.SelectedItems, Title & ", "))

     

    Then Filter your dropdown like so:

     

    Filter(DataSource, Title in varXXX)

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard