How to remove "options" word in the middle of multi-checkboxes?

kavitha_cr
Mega Guru

When I tried creating Multi-checkboxes under a label, In the middle of checkboxes, a single text line is populated when we select Legal-other field. But also "options" word is also populating after the single line text in the middle of checkboxes and also it is showing mandatory. so this 'options' word should be removed from the form. Is there any way to remove it?

find_real_file.png

20 REPLIES 20

Hi,

I just wanted to check-in on this. If my reply above helped guide you correctly, if you don't mind, please mark it as Helpful & Correct.

Thank you!


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

Sajilal
Mega Sage

So the options comes up because you have a Variable in front of the checkboxes with no name

Please give a try and let me know if it works. Configure the variable and have the name given as empty, (just add a space)! and

Please Mark as ✅ Correct if this solves your issue and also mark ???? Helpful if it helps resolve your problem.

Thanks,
Saji

Hi Sajilal

The options word is displaying because the system is automatically populating "options" word as a label to the checkboxes since the checkboxes are broken in the middle by single line text.

I tried creating a label with empty(means by giving space) but, it is not submitting.

Thanks 

Siva.

Hi,

As of a few versions ago (about a year and a half(ish) now), you're not able to use the "space" trick for the label. 

So your options are to use DOM manipulation, which is not recommended, but would resolve your issue (presented by Ankur, above).

Or...you create a label field as I have mentioned and try and fit/word it best to your form, which I get doesn't remove it, but...without doing DOM manip, is the best best to resolve your issue. Please see my post above.

Thanks!


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

@Siva Jyothi 

If the above approaches doesn't work i.e. creating a label variable etc and creating container start and container end then only way is to handle using DOM as mentioned by Allen.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader