Hide 'options' above checkboxes

tgcorbin
Mega Contributor

I am creating two checkboxes, but when I do so, it puts the label of 'options' above it. I want to remove this. I know I can put a label above it for my own custom text, or I can put the first checkbox in a container, but I do not like either of those solutions. Any ideas?

checkboxes.PNG

Thanks

1 ACCEPTED SOLUTION

sachin_namjoshi
Kilo Patron
Kilo Patron

You have to write a onLoad client script after you create a label to hide it.


$('label_IO:7817abedad4c3100dd49a5edb9ba2a38').hide(); //Replace this with the sys_id of the label you created.



NOTE: To hide a label first you have to create a label and then write a client script to hide it.



Regards,


Sachin


View solution in original post

24 REPLIES 24

So, I used the bottom part of the script to give me the sys_id. I am still having issues. Any idea where I am going wrong?



function onLoad() {


    $('label_IO:fec65d1937b7fa40b3579b7a93990eb8').hide();


  //var id = g_form.getUniqueValue('hide_this');


  //alert(id);


}


Sys_id of label will be stored in sys_documentation table.


You can get sys_id of your label from this table.



Regards,


Sachin


I'm sorry for so many questions. I can't seem to find the table or where I would find the variable.        


Just type in "sys_documentation.list" in the menu to the left in the backend and hit enter. This will take you to the list.


tgcorbin
Mega Contributor

Okay, now I am here. There are about 16 'sys_documentation'. Where are the variables at?