How to Set Choice Field Default Value to Blank in SharePoint?

By default, when you create a new choice field, the very first choice you entered is also set as "Default value" in field settings. This results filling up the default value for the field in new item creation page (NewForm.aspx). However, there are times you may want to have a empty value choice field (in other worlds, set choice field default to blank).

How to set choice field default blank value in SharePoint?
To set choice field to empty value, simply clear the default value of the choice field in choice field settings.
sharepoint choice field default blank

This makes the choice field default to blank value! Also allows blank value in Choice field.
sharepoint choice field empty value
Set Choice Field to Empty Value using PowerShell:
If you want to make blank value as default for choice column, you can use this PowerShell way too! 
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

$ListName ="Projects"

$Field = $List.Fields[$ChoiceFieldName]
$Field.DefaultValue = $Null

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.