Set Default Value for Status Column on your NewForm.aspx using JQuery

Posted: November 7, 2014 in SharePoint2010, SharePoint2013


We are providing a quick tip on how you can set your Status column (dropdown) defaulted to Open/Close value using Jquery. When the Approver section select the Approved value then the automatic set status column Open Value and Approval select Reject value then automatic set status column Close Value.

Code Steps

<script language=”javascript” src=”/JS/jquery-1.9.0.min.js” type=”text/javascript”></script>

<script language=”javascript” type=”text/javascript”>

$(document).ready(function () {

var selected = “”;

$(“.ms-RadioText input[type=’radio’]”).click(function () {

selected = $(“input[type=’radio’]:checked”);

if ($(this).val() == “ctl00”) {

$(“select[Title=’Tools Status’]”).val(‘Open’).attr(“selected”, “selected”);


else {

$(“select[Title=’Tools Status’]”).val(‘Close’).attr(“selected”, “selected”);





Before Selecting Approver Option


In this Article we have explored and provided a quick tip on how you can set your column value using JQuery.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s