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 / Show and Hide sections...
Power Apps
Unanswered

Show and Hide sections on a Form in a Model-Driven App based on selection in a Choice column

(0) ShareShare
ReportReport
Posted on by

Hello, the application I'm currently working on has a table for entering staff training events, and we have multiple systems that we train people in. They're all in this one table. As an example:

 

Training TypeSystem A, Skill 1System A, Skill 2System B, Skill 1System B, Skill 2System C, Skill 1
System AGoodOkay   
System C    Excellent
System B  GoodPoor 

 

The column "Training Type" and the columns "System [x], Skill [y]" are all Choice columns, synced with Global Choices.

 

The form we have has separate sections for each System, and I need to be able to show only the relevant section, based on the selection made for the Training Type column. So selecting "Training Type: System A" will only show the section with System A's skills, etc.

 

I know PowerApps has no built in way of doing this, but how would I accomplish this with javascript?

 

TIA.

Categories:
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @SCurtis 

     

    just a quick guess:

    For System A:

     

    DropdownTrainingType.Selected.Value = "System A"
    

     

    for b:

     

    DropdownTrainingType.Selected.Value = "System B"
    

     

    for c:

     

    DropdownTrainingType.Selected.Value = "System C"
    

     

     

    you might need to rename to your column names

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard