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 @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.
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
This is the solution that work to show-up an extra drop-down based on a previous selection into another drop-down.
Thanks @timl ! This solution works better for me as I'm still a newbie to all this 🙂
Thanks @v-siky-msft
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.
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
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional