Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Options label in checkboxes

Mary Mationg
Kilo Contributor

I have multiple checkboxes(18 in total) with a label prior to the 1st checkbox however when shown in the portal it comes up with 'Options' after the 10th checkbox.

In previous versions, I was able to hide this by creating a label with a blank or just a space question however in Madrid a blank or space label question is no longer allowed. 

I've also tried creating a label and hiding it via an onLoad script but neither of the 2 lines don't work.

g_form.setVisible('user_settings_label', false);

or

$('label_IO:97a5e5f8dbb30c508c3410a014961993').hide(); 

 

Does anybody have a workaround without re-entering the label?

8 REPLIES 8

Unfortunately, UI policies and setDisplay does not work. 

Allen - so my checkboxes are in a Variable Set of 2 columns wide, one side, then the other. All checkboxes in question were positioned under the 2nd column. However, I do have other checkboxes on the 1st column as well. See attached. Any help would be highly appreciated. Thank you.

Allen, thank you for posting this as I had just run into this exact issue.   This kind of implementation is where I just shake my head and wonder what SN was thinking.   There is no reason for an automatic label in a system that provides for one.

Kalyani35
Tera Guru

Hi Mary,

did you get any solution for this issue? I am facing same issue.

Thanks

Hi Medha,

Unfortunately, I haven't found a solution for it. I've given up and just duplicated the label.

find_real_file.png