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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Set default option field value based on the value of another field

(0) ShareShare
ReportReport
Posted on by 481

Is there a way to set a field's default option value based on the value of another field?

I have the same question (0)
  • jdrco Profile Picture
    481 on at
    RE: Set default option field value based on the value of another field

    Any docs that you think can help me code this?

  • Suggested answer
    YUN ZHU Profile Picture
    92,429 Super User 2025 Season 2 on at
    RE: Set default option field value based on the value of another field

    Hi, Yes, it is possible, but requires customization.

    PS: How to set the initial value (Automatically set default value for field): You need to add some conditions when setting the initial value.

    https://yzhums.com/11876/

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,037 Moderator on at
    RE: Set default option field value based on the value of another field

    As Brad says. You will typically need a customization to do that.  Or if you are in the cloud you can possible do things like that using Power Automate as well.

  • Brad_P Profile Picture
    1,549 on at
    RE: Set default option field value based on the value of another field

    The question is vague in the sense of application use, generally you cannot set the default value of another field based on a value without a minor code adjustment. You can create an extension that subscribes to the onvalidate event of the "another field" and set the option value of the field.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,119

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,902

#3
Sumit Singh Profile Picture

Sumit Singh 3,021

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans