Change default value of List in SharePoint w/o going to List Settings?

Hello Experts,

Is there a way to change the default value of a column w/o going into List Settings?  I have a List that has a default value for a column (category) setup.

When I have to enter a lot of data (items) for a particular hardware category (monitors, desktops, phones, laptops, etc), I'd like to be able to change the default of the category w/o having to go into the List Settings.

I would appreciate any guidance...thank you.
Who is Participating?
Rainer JeschorConnect With a Mentor Commented:

this script will try to get an url parameter named "categoryfield" and set the select field "AssetType" (based on the title of the field):

<script language="javascript" type="text/javascript" src="/sites/ee/SPServices/JSAssets/jquery-1.8.3.min.js"></script>
<script language="javascript" type="text/javascript">
var queryParamName = 'categoryfield';
var selectFieldTitle = 'AssetType';


function SetDefaultValue()
	var valueFromQuerystring = GetUrlParamValue(queryParamName);
	if (valueFromQuerystring != null) {
		jQuery("SELECT[title='" + selectFieldTitle + "']").val(valueFromQuerystring);

function GetUrlParamValue(urlParam){
    var queryString =;
    var urlParams = queryString.split('&');
    for(var i = 0; i < urlParams.length; i++){
        var urlParamElement = urlParams[i].split('=');
        if(urlParamElement[0].toLowerCase() == urlParam.toLowerCase()){
            return urlParamElement[1];
	return null;

Open in new window

Necessary script adjustments:
- Adjust the path to the jQuery library to fit your environment. (you might also use the jQuery library from the CDN from Google/Microsoft)
- Adjust the variable queryParamName
- Adjust the variable selectFieldTitle and set it to the title of your select field

To get it run you have to options:
Either place the script using a content editor web part OR use SharePoint designer to inject the code directly on the new item page.

If you need further assistance just post your comment.

HTH and KR
Rainer JeschorCommented:
which SharePoint version and edition?
What field type is your column?

The one possible workaround I can think of is to pass the value via query string (url parameter) having a small Javascript on the new item page to replace / set this field.

Modifier1000Author Commented:
Sorry for my lack of bad.

SharePoint Version:  2010 Enterprise
Column Type: Choice

I'll standby with your "possible workaround" in case the version/column-type I just provided make a difference for another possibility.
Modifier1000Author Commented:
Thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.