Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Show/Hide Field in model driven app form, based selection in from other field?

(0) ShareShare
ReportReport
Posted on by 292

Hi,

In a model driven app, is it possible show/hide a field based on a selection from another field in the same form?

  • timl Profile Picture
    34,935 Super User 2025 Season 1 on at
    Re: Show/Hide Field in model driven app form, based selection in from other field?

    Hi @shavora 

    I'd check the scope of your business rule. If for example it's scoped to a specific form other than the one you're using, this would be one explaination why all the fields are all visible.

    If this doesn't work, I'd suggest that you raise a new post as you'll probably get a better response.

  • Gyllentid Profile Picture
    892 on at
    Re: Show/Hide Field in model driven app form, based selection in from other field?

    I have tried this but the fields are all visible. Should I hide them when I create the form, initially? I set them to visible. @timl 

  • frederikbisback Profile Picture
    222 on at
    Re: Show/Hide Field in model driven app form, based selection in from other field?

    This is the solution that work to show-up an extra drop-down based on a previous selection into another drop-down. 

  • karimabdelrazek Profile Picture
    292 on at
    Re: Show/Hide Field in model driven app form, based selection in from other field?

    Thanks @timl ! This solution works better for me as I'm still a newbie to all this 🙂

  • karimabdelrazek Profile Picture
    292 on at
    Re: Show/Hide Field in model driven app form, based selection in from other field?

    Thanks @v-siky-msft 

  • Verified answer
    timl Profile Picture
    34,935 Super User 2025 Season 1 on at
    Re: Show/Hide Field in model driven app form, based selection in from other field?

    Hi @karimabdelrazek 

    If the fields are in the same entity, you can create a business rule to do this. You would specify the condition and use the set visibility action. There are more details in the help here.

    https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/create-business-rules-recommendations-apply-logic-form 

     

    image.png

  • v-siky-msft Profile Picture
    on at
    Re: Show/Hide Field in model driven app form, based selection in from other field?

    Hi @karimabdelrazek ,

     

    Yes, this can be achieved by JavaScript. Please check this blog: Hiding and Showing a Field in Dynamics 365 using JavaScript .

    Since it relates to JS query, I would suggest you post such questions to Dynamics Community, where you can get more professional help on JavaScript.

    Hope this helps.

    Sik

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard