web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

dynamic choices

(1) ShareShare
ReportReport
Posted on by 448
Hi all
I need to have a dynamic choice where where the user can indicate the choice; the choice has rules.
The choices are for example:
 - NEW
 - TO SEND
 - SENT
 - TO BE CANCELLED
 - CONFIRMED
 - CANCELLATION POSTED
if the record is set to SENT (3rd option), the options NEW + TO SEND + CONFIRMED must not be selectable.
....
Is this possible?
If yes please indicate me some link where it's possible learn how to.
thanks in advance
I have the same question (0)
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    Hi,
     
    We have analyzed the information you have provided, may I know your requirement is that the entity has a multi-select field where other options cannot be selected when a specific value is selected, is this correct?

    We searched for information, there is no out-of-the-box method to meet your needs, according to my experience, you can use javascript to get the attributes of the element, when /SENT/ is selected, so that the form of other options to hide.
     
    In addition, we have found an alternative solution where you can set 5 fields to mark each option as checked or unchecked and then use Business Rules to lock the other fields.


     
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang
  • DiePic Profile Picture
    448 on at
     Hi @RudyZhang and thanks for reply.
    Can you indicate me some link where I can learn how to do this in javascript?
     
     
  • ChrisPiasecki Profile Picture
    4 on at
    Hi @diepic,
     
    Based on your example, would it be a fair to assume that you're trying to control a status field and what states it can transition to? If so, I would suggest taking a look at the out of the box Status Reason and Status Reason Transitions that are available for every table and see if it meets your needs.
     
    --- 
    Please Mark as Answer if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Like. 
  • DiePic Profile Picture
    448 on at
    Hi @ChrisPiasecki
    thanks for reply .... can you indicate me some link where I can learn something about "box Status Reason and Status Reason Transitions"?
    thanks in advance
  • Verified answer
    Tamilarasu Arunachalam Profile Picture
    587 on at
    Hi @DiePic,
              You can achieve it through JavaScript by adding or removing the options according to the another field.
     
              You can refer the below article for similar scenario
     
            If this answers your question, mark this as verified
     
    Thanks,
    Tamilarasu Arunachalam

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans