I have a requirement whenever i click the checkbox the list collector value should be populate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 10:03 PM
I have a requirement whenever i click the checkbox the list collector value should be populate automatically when created RITM .
Question form level hiding the value data warehouse . it will displayed only once create RITM .
for example if an tick the checkbox as Develpoment, after submitting RITM data warehouse value should populate automatically
any one can help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 10:24 PM
Hi @sakila ,
Please try the below onChange Client Script:
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
if (newValue == 'true') {
var wareList = ['4ae3ab0753101200ed11da86a11c0881,3f0370019f22120047a2d126c42e705e'];
g_form.setValue('data_warehouse’, wareList.join(','));
}
else {
g_form.clearValue('data_warehouse’);
}
}
SysId(s) will be of 'Data warehouse Grant access..' selected options.
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 10:32 PM
this is onchange , but i need after submitting RITM , the list collector value should be auto populate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 11:14 PM
Hi @sakila ,
Try the GlideAjax approach to achieve this in onSubmit Client Script:
Mark this as Helpful / Accept the Solution if this helps.