Announcements
Hi,
In a model driven app, is it possible show/hide a field based on a selection from another field in the same form?
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
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
Thanks @v-siky-msft
Thanks @timl ! This solution works better for me as I'm still a newbie to all this 🙂
This is the solution that work to show-up an extra drop-down based on a previous selection into another drop-down.
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
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.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 476
WarrenBelz 365 Most Valuable Professional
Vish WR 339