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

Why is a checkbox field showing as three dashed lines on form?

(2) ShareShare
ReportReport
Posted on by 171

Hello,

Quick question, probably very easy to fix. 

I have created a new field and have added it to an existing form. The field is a simple 'Two Options' filed with yes or no to choose from. I have changed the formatting to make it a checkbox however, when anyone opens the form we see three dashed lines instead of a checkbox. Once you click on the three dashed lines it changes into a checkbox but it also displays yes or no next it. 

How can I make it the same as the other two checkbox in the screenshot below?

I have checked the field properties of the new field and the existing ones and they are exactly the same i.e. control formatting set to 'Check box' and controls set to 'Flip Label(default)'

Please help. 

When form opens it shows this...

pastedimage1611162881653v1.png

When you click on the three dashed lines it turns into this...

pastedimage1611162909677v2.png

Many thanks

I have the same question (0)
  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hi, 

    The "---" means that field is empty.

    You can create a business rule to set the value to No if the field is not equal to (Yes and No) --> it means that the field is empty. 

    ------------------------------------------------------------------------------------------------------------------------

    If (yourField is not equal to Yes and yourField is not equal to No) Then 
                       
                       Set yourField to No

    ------------------------------------------------------------------------------------------------------------------------

  • Suggested answer
    JSilva Profile Picture
    485 on at

    Hi,

    Please test this:

    -Go to the form adjust the width save and publish

  • Suggested answer
    ashish12 Profile Picture
    3,079 on at

    Hi kamil,

    You can also set the default value to NO.

    Thanks

  • Suggested answer
    LuHao Profile Picture
    40,892 on at

    Hi Kamilcmm,

    Agree with Mehdi.

    After you create a Two Option field and add it to the form, for new records, its value defaults to Yes or No. For existing records, its value is null by default.

    So the solution is indeed as Mehdi said, create a business rule, set as follows.

    pastedimage1611199044592v1.png

    IF

    Two Option field does not equal "No,Yes"

    THEN
    Set Two Option field to "No"
  • Verified answer
    prt33k Profile Picture
    6,907 on at

    Hi,

    As suggested, the existing value will be shown as --- while the new record will come with the checkbox.

    Setting a default value won't solve the purpose because default doesn't get applied to the existing record.

    Writing a business rule can set the value to No however that will happen only when the user opens the record.

    So if you are on the Prod system, it's better to update all the values to No after the field creation using OOB import or via some C# code for the bulk update.

    But I am not sure why are you getting Text next to the checkbox - what is the version/app of CRM u r using?

  • Verified answer
    JSilva Profile Picture
    485 on at

    Hi Prateek,

    I have the same impression that something is not very well or perhaps wrong

    When you create a two option field - the no - it´s always in default (you can choose y or n, but you can´t choose  blank)

    7317.jpg

    And in my environments the behaviour is this:

    2744.jpg

    check box not checked =  No

    Kamilcmm just to check?

    your field it´s a custom field correct?

    You created two option type or option set?

  • Kamilcmm Profile Picture
    171 on at

    Thanks Prateek,

    I have tested on a new record and can see the checkbox so that fine however, it still says either yes or no next to the checkbox which it doesn't do for the others.

    I'm using Dynamics 365 Sales Professional...

    2020 release wave 2 enabled

    Server version: 9.1.0000.27035

    Client version: 1.4.1997-2012.1

    JSilva8507 yes i'm using a custom field and the data type is set to 'two options'.

    pastedimage1611238492929v1.png

  • JSilva Profile Picture
    485 on at

    Hi,

    do you did this?

    -Go to the form adjust the width save and publish

    Please can you test:

    in other form

    Section

    change the formatt of the field in the form to other

  • Kamilcmm Profile Picture
    171 on at

    Thanks JSilva8507

    Changing the formatting to 'two columns' then back to 'one column' seems to have fixed the issue.

    Many thanks for your help all.

  • Suggested answer
    prt33k Profile Picture
    6,907 on at

    Hi Kamilcmm,

    I am on the same version - though build version is bit older - but I dont see the yes/no next to checkbox. Try clearing the cache and also try a different browser.

    You might need to get the support engineer involve if this is a Prod server.

    Thanks,

    Prateek

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 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

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

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans