Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans