Skip to main content

Notifications

Microsoft Dynamics CRM forum
Suggested answer

Is it possible to show Applicable Choices Dynamically based on the previous selected choices

Posted on by 50

Hi i was working on model driven application.

i wanted to check if there is any way to display applicable choices based on the previous selected choice. since choices are defined earlier it shows all the choices that,s been Initiated .

couldn't find anything on the client side scripting and customization or in the business rules.

please help me solve this problem.

thanks

  • Suggested answer
    Manoj Mane Profile Picture
    Manoj Mane 1,012 on at
    RE: Is it possible to show Applicable Choices Dynamically based on the previous selected choices

    Hi Harshith,

    Please refer the below link:- 

    https://stackoverflow.com/questions/68924159/hide-remove-option-set-value-using-javascript-for-crm-dynamics-365


    MS Document Reference link:- 

    https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/controls/removeoption

    syntax you can use to remove/add the choice values based on the previous choice option:- 

    formContext.getControl(arg).removeOption(value);

    value - Number - The value of the option you want to remove.

    Thanks,
    Manoj.

    Please mark this as VERIFIED if it helps.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans