locked
Unable to set "column settings" of Yes/No (Check Box) values "Required, Optional, Hidden" of content type column RRS feed

  • Question

  • Hi, SharePoint 2010 and I have created a number of site columns of type Yes/No (check box). I have created a number of content types and used these column types but when I try to change the column setting within the content type to "Required, Optional or Hidden" I am unable as the settings are greyed out and I am unable to change them.

    Even in the Parent content type I am unable to change this particular type of column value so it isn't an inheritence setting as it's the parent content type. Am I doing something wrong?  

    Note - I am recreating a list from a SharePoint 2007 site and I am able to change the setting here, have i configured this incorrectly or was this something that could be done in SP 2007 but not SP 2010.

    Thanks fo any help.

    • Edited by Fadious Tuesday, September 28, 2010 7:27 PM Additional info
    Tuesday, September 28, 2010 7:24 PM

Answers

  • HI,

    I can reproduce your issue. 

    I have reported to Microsfot, maybe this is a bug.

    let's wait for responsing.

    • Marked as answer by Stanfford Liu Monday, October 4, 2010 2:50 AM
    Thursday, September 30, 2010 5:51 AM
  • This looks like an expected behavior.
    Columns Yes/No require an input from the user and cannot be hidden.
    This change seems to be starting with SharePoint 2010.
    Fred Ellis - MSFT - "Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread."
    • Marked as answer by Stanfford Liu Monday, October 4, 2010 2:50 AM
    Sunday, October 3, 2010 4:37 PM

All replies

  • HI,

    I can reproduce your issue. 

    I have reported to Microsfot, maybe this is a bug.

    let's wait for responsing.

    • Marked as answer by Stanfford Liu Monday, October 4, 2010 2:50 AM
    Thursday, September 30, 2010 5:51 AM
  • Hi,

    Thank you for looking into this, I appreciate your help. 

    Thursday, September 30, 2010 9:38 AM
  • This looks like an expected behavior.
    Columns Yes/No require an input from the user and cannot be hidden.
    This change seems to be starting with SharePoint 2010.
    Fred Ellis - MSFT - "Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread."
    • Marked as answer by Stanfford Liu Monday, October 4, 2010 2:50 AM
    Sunday, October 3, 2010 4:37 PM
  • Hi Fred,

    One cannot asume a Yes/No requires an input from the user, only if indeed the field is marked as a required field - you can leave a yes/no field unmarked, or default to a yes or no, and this should allow you to hide it?

    Otherwise you could say the same for all field types not just yes/no fields?


    Nicholas Demos
    Friday, October 29, 2010 5:20 AM
  • Hi

    I agree with Nicholasd1980.

    Fred, your answer isn't quite satisfactory.

    A yes/no field doesn't automatically require input from a physical user. Such a field can be changed through a workflow in the background, and having it show up in an Edit form wouldn't be needed and could even cause issues.

    From my own experience, that the 'Column Settings' choices are grayed out is either evidence of a bug or evidence of a "feature." If it's a feature then it's one that requires further explanation and clarification for us to work with.

    The reasons I say this is because this behavior is occurring not just on yes/no fields but on calculated fields (in my environment). Column settings are grayed out with the default choice stuck on optional and these fields should NOT be showing up in Edit or New forms.  The list is like the OP's - an upgraded 2007 list in a 2010 site.

    Friday, November 18, 2011 6:12 AM
  • I agree that the Yes/No boolean field should be controllable in the content type "Required, Optional or Hidden" settings. The field requires a default value by design which is specified when you create the field. Thus, regardless of user input, it should always get this value. I would have to suppose that there is some design limitation necessitating the value be set in the UI upon new item creation.

    There is a way to achieve some of our goals which may contradict this assumption: Using PowerShell, you can change the ShowIn... properties of the field after it is created. In our case, we want the field to show but it should not be editable by the users. I simply set ShowInEditForm and ShowInNewForm to false. For those who want a truly hidden field, you can make the modification in PowerShell in the same manner.

    I know this won't help much for those of you who are in the cloud, but it's a good thing to consider if you have access to the SharePoint 2010 Management Shell.

       ---PaulE---

    Wednesday, January 4, 2012 8:26 PM
  • Edited: Sorry I didn't realize this was such an old post! oops...

     

    There might be a sneaky way to do it in SharePoint Designer if you have access to it.

    https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-How-to-hide-the-Workspace-checkbox-on-a-calendar-without-code-or-customization.aspx

    That was an instruction for getting rid of a meeting workspace checkbox - I'd assume it's the same column type so this trick might work in your situation as well.


    Robin
    • Edited by Robin In OR Wednesday, January 4, 2012 8:34 PM
    Wednesday, January 4, 2012 8:33 PM
  • I had the same problem and got around it by switching my field type to Single Line of Text. I defaulted the value to be "No" and am using workflow to change the value to "Yes". I am now able to switch the Content Type to "Hidden".
    • Proposed as answer by reub77 Monday, July 21, 2014 7:47 PM
    Monday, July 21, 2014 7:47 PM
  • @reub77 - changing the field to TEXT is a good solution.  However, has anyone found out why we cannot hide Y/N fields?  This makes no sense to me.....

    Tuesday, June 9, 2015 5:25 PM
    • Edited by washbucket Thursday, February 25, 2016 11:39 PM
    Thursday, February 25, 2016 11:39 PM
  • There is a solution to manage this. While creating yes/No field, just uncheck "Add To All Content Types".

    If you already added, then remove it from content type.

    Tuesday, August 8, 2017 8:43 AM
  • There is a solution to manage this. While creating yes/No field, just uncheck "Add To All Content Types".

    If you already added, then remove it from content type.

    This works, but the real solution would be for Msft to fix this so it works as anyone with a pulse would expect. But after 7 years, it's safe to assume this will join the list of things Msft doesn't care about.
    Friday, October 19, 2018 8:11 PM
  • Lol, I found the solution a year or so ago. Open up the list in SharePoint Designer, select the content type and edit its columns. Under the property column, you have to click on "Required" over and over and over again then it will let you change it.... 
    Thursday, November 29, 2018 12:21 AM
  • This isn't a problem that needs resolution, IMHO.

    Yes/No is just that - yes or no.  That is what a boolean field is.

    You wish to have Yes/No/Null.  That is not a boolean field, and thus Microsoft provides the Choice field for this type of information.


    Chris Mang>> JDA Software Group, Inc.

    Friday, July 19, 2019 6:30 PM
  • I have the same problem with SharePoint online

    Removing the field from a content type just so it doesn't appear on a form is a backward step Microsoft need to get this fixed.

    You should be able to hide Yes / No field just like any other, as these like other fields can be used solely by workflows, and thus may not need to be visible to users

    Tuesday, June 30, 2020 10:35 AM