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

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


So, I created the label. I gave it the name of 'hide_this'.



The script would be $('hide_this').hide();, no? I can't seem to get that to work.


you need to add sys_id of label hide_this



Regards,


Sachin


How can I get the sys_id?