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

lakshmir
Giga Contributor

Hi Kriti,


When ever a checkbox is required:


1.Create a question as label give the least order as in 100


2.Then create checkboxes as in each choice will be a variable and then follow the order 200 and above.


Hope you find this helpfull.


Community Alums
Not applicable

No This is fine if i want a label..but i dont want label here.



I have followed the above technque earlier for many



Regards,


kirti


Hi Kirti,



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.



Please let me know if you have any further questions.


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.