Checkbox (Yes/No) column does not display as checkbox..
Hello, tharais!
Please try the following code, just paste it in the Javascript editor.
Please try the following code, just paste it in the Javascript editor.
Code: Select all
function findElementByText(text) {
var jSpot = $("div.ms-formbody.fd_control:contains(" + text + ")")
.filter(function() { return $(this).children().length === 0;})
return jSpot;
}
findElementByText("Yes").replaceWith( "<input type='checkbox' disabled='disabled' checked='checked'/>" );
findElementByText("No").replaceWith( "<input type='checkbox' disabled='disabled'/>" );
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests