- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 02:55 AM
How to make assignment group non-read only in problem table when you select category is dropdown None and assignment group is read only it selects any other category
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 03:07 AM
Hi @pk16514
There you go.
Sample script
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (newValue === '') {
g_form.setReadOnly('assignment_group', false);
return;
}
g_form.setReadOnly('assignment_group', true);
}
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 02:58 AM - edited 01-03-2024 03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 03:02 AM
is it possible using client script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 03:07 AM
Hi @pk16514
There you go.
Sample script
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (newValue === '') {
g_form.setReadOnly('assignment_group', false);
return;
}
g_form.setReadOnly('assignment_group', true);
}
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 08:09 PM
Thanks @Tai Vu