How do i Remove Options label that gets created when a checkbox type variable is created

Community Alums
Not applicable

Hi All,

 

How do i Remove Options label that gets created when a checkbox type variable is created.Please let me me know if there is any alternative

 

Regards,

Kirti

1 ACCEPTED SOLUTION

You can also take a look on the below demo where I have implemented the same.


    $('label_IO:7817abedad4c3100dd49a5edb9ba2a38').hide();


Username:admin


Password:admin


Steps to test:


Go to catalog item->Access



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


View solution in original post

27 REPLIES 27

Hi ,

But Question is mandatory to fill-in right? How to give empty?

I did not understand.

Ajai S Nair
Giga Guru

Hi Kirti,



If you are saying about 2 or more checkboxes that comes under a same category name ,then you can use this to hide that option label.



Create a label with the name of the category and give the checkboxes after that.


For example:


label.PNG


here the choices come under a common category 'reason for request' so give that as a label with order 100 and give the order of the checkboxes as 101,102,103 and 104 respectively.



Thanks and Regards


Ajai


Community Alums
Not applicable

Hi All,



I got a simpler way of doing this.I have created a label with no question and i could eliminate options from the checkbox.



Regards,


Kirti


that's the best one ^

Hi Kirti,

Creating the label with no question is actually creating a huge gap between the check box variables. Were you able to manage it? if yes, how?