How to remove "options" word in the middle of multi-checkboxes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2020 09:38 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2020 09:46 AM
Hi,
that is shown OOB
you cannot remove it directly. It can be removed using DOM manipulation
Note: it is not recommended to do DOM
Create onLoad catalog client script and use this script
- Ensure Isolate Script field is set to false
- This field is true when client script is saved
function onLoad(){
$j('label_IO:09b4f089c0a800050098a7faefe5d732').hide(); //Replace this with the sys_id of the label you created.
}
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2020 10:52 PM
Hi Ankur,
Thank you for the reply, but here u mean the label sys_id means "Business subsegment requesting for" sys_id?
I have tried replacing the 'business subsegment requesting for' label sys_id. Still the options word is displaying.
Thanks
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2020 11:37 PM
Please create a label variable just before the checkbox
Or create container start and container end and add those checkboxes
Allen and Sagar have mentioned the approach
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2023 07:26 AM
Hello @Ankur Bawiskar
We have tried the script that you have given but it is not working and getting an error