I have found this script floating around on mulitple to solve the issue of creating multiple columns for a custom checkbox field. I have run it in the description and it does not appear to anything and when I run it in the script runner console it shows errors in the code. Has the way the code needs to be written changed?
<script language="javascript">
AJS.$(document).ready(function(){
Array.from(document.body.getElementsByClassName("checkbox")).forEach(function (cbox) {
if (cbox.getAttribute('name')=='customfield_#####') {
cbox.parentNode.style.cssFloat='left';
cbox.parentNode.style.width='20%';
}
});
});
</script>
Figure out my answer.
Enable HTML in descriptions was turned off under System
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.