Unable to remove 'Options' Label for Check boxes in 2 Column layout

Mrman
Tera Guru

Hi,

I am creating checkboxes in 2 column layout in a Variable Set, I am having difficulty in hiding the Options Label .

I have created a Custom Label variable called 'To hide' and created a UI policy to hide on load .

But doing this it is hiding the underlying checkboxes also.

Please let me know how to hide label above checkboxes .

find_real_file.png

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

That is expected functionality. The label automatically applies to all checkboxes located directly underneath.

In prior versions of SN, you could just simply set the label with 1 space. Meaning...for the label...just press spacebar one time, it creates a space on the variable and so then it would look like nothing is there.

I think in London...or maybe New York, it doesn't work anymore. I believe.

So, you'd have to possibly consider leaving all checkboxes in one column, or organizing it a bit differently to where a second checkbox label isn't against your design.

Otherwise..you'd have to go with DOM Manip...and that's not recommended however, this thread gives you the answer to how to do that:

https://community.servicenow.com/community?id=community_question&sys_id=253647a1db1cdbc01dcaf3231f96...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

4 REPLIES 4

Elijah Aromola
Mega Sage

Can you post a screenshot of your variables on your item?

Hi ,

Please find the screesnhot of variable set

Can you also post your UI policy/actions?

Allen Andreas
Administrator
Administrator

Hi,

That is expected functionality. The label automatically applies to all checkboxes located directly underneath.

In prior versions of SN, you could just simply set the label with 1 space. Meaning...for the label...just press spacebar one time, it creates a space on the variable and so then it would look like nothing is there.

I think in London...or maybe New York, it doesn't work anymore. I believe.

So, you'd have to possibly consider leaving all checkboxes in one column, or organizing it a bit differently to where a second checkbox label isn't against your design.

Otherwise..you'd have to go with DOM Manip...and that's not recommended however, this thread gives you the answer to how to do that:

https://community.servicenow.com/community?id=community_question&sys_id=253647a1db1cdbc01dcaf3231f96...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!