Skip to main content

Notifications

Announcements

No record found.

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 479

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

  • jdrco Profile Picture
    479 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
    85,764 Super User 2025 Season 1 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,029 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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans