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

You can search with documentation table with label you configured.



find_real_file.png



Regards,


Sachin


I am searching for 'Hide' but not getting the variable I made. It is just supposed to be what I named the label, right?



hide_search.PNG


Hi,

 

I wrote onLoad client script, but it is not working still I am able to see the label.

 

 $('label_IO:2b95f777db103300987e9006db96195a').hide(); // mentioned sys_id is the id of created label

 

Thanks,

Uzma

Hi Sachin,

I'm trying your solution and it's not working, this is in Madrid.  Should this work in Madrid?  thanks!

So this works for me on the CMS, but not in the portal - even the same sys_id is not working.  Any ideas (I do find this adding "options" pretty stupid)