- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2018 11:01 PM
Hi All,
Greetings of the day!!
I have field over my change form. That is a reference field listing out all "cancelled and failed changes" in the list.Now the requirement is user should be able to select multiple values over that field. Please suggest me some better ways to implement it. Currently i am able to select only one value from related list and corresponding title.
Regards,
Jyoti
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2018 11:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2018 01:39 AM
In that case you can write one onchange client script on this field. Script should check if it has values more than three.
List field returns comma separated string of sys_ids. You can split this string using comma.
Eg. var str = g_form.getValue('u_failed_change_number');
var arr = str.split(",");
if(arr.length>3){
alert("do not select more than 3 change request");
g_form.clearValue('u_failed_change_number');
}
Hope this helps.
Hit Like/Helpful/Answered as applicable.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2018 02:26 AM
Thank you so much . I have implemented the limiting record thing by myself. Thanks again. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2018 11:38 PM
Hi,
Follow the community article : Select Multiple values
This will work for your requirement.
Regards,
Ravi Kiran T,
@Servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2018 12:26 AM
A Glide List or Related list with Edit button. If OOB related list not present then create one.
https://docs.servicenow.com/bundle/kingston-platform-user-interface/page/administer/form-administration/task/t_CreateDefinedRelatedLists.html

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2020 02:21 PM
It won't look the same but slushbucket allows multiple selection on reference fields. slushbucket is of type "List Collector".
Following example is selecting on user table (sys_user).