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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Need a blank default value on a Two Options field

(0) ShareShare
ReportReport
Posted on by 320

Hello,

I have a Two Options field in CRM online with a value of YES and NO.

The requirement is that it should have a blank value when a new record is created.

Is this possible?

I tried using workflow by Clearing the value on Record Creation. But did not work.

Any suggestions on this?

Thank you.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    HI Huzefa,

    Two options field cannot be cleared. It will always have a value ( Yes or No). Just these two options only. As per your requirement, you could try creating an option set with the two values(Yes and No) and select the default value as unassigned value.

    Hope this helps.

  • Huzefa Bootwala Profile Picture
    320 on at

    Hello,

    Thank you for the reply.

    Yes I am aware of option set.

    But I need to customise existing field as it is been used in many reports.

    Isn't there any workaround or javascript which can do this?

    Thank you.

  • Verified answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Hufeza,

    You could try setting the value to null using Javascript.

    Xrm.Page.getAttribute("twoOptionFieldLogicalName").setValue(null);

    See: https://www.magnetismsolutions.com/blog/11-09-19/No_Default_Value_on_Two_Options_Field_Dynamics_CRM_2011.aspx

    You could also try clearing the field using business rules.

    See: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/create-business-rules-recommendations-apply-logic-form

    Hope this helps.

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    I think in this case better you can create new option set field instead of two option field  if you need more options .

  • Huzefa Bootwala Profile Picture
    320 on at

    Hello,

    Yes, clearing the field worked by adding Javascript, not sure how it would behave in reporting.

    Created a new Option Set field.

    Thanx.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans