
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2024 06:19 PM
Hello experts,
We want a multirow table to be visible when a field is selected, is it possible? In the catalog policies we do not identify any options.
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2024 10:24 PM
Hello @Diana Yazmin ,
Assuming you want to hide MRVS on change of some field value, you can achieve this requirement by creating a on change catalog client script as follows -
Select the appropriate catalog item and variable name.
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
if(newValue == 'abc'){ // replace the value
g_form.setDisplay('mrvs_demo', false); //replace mrvs variable name
} else {
g_form.setDisplay('mrvs_demo', true); /replace mrvs variable name
}
}
If my answer solves your issue, please mark it as Accepted ✔️& Helpful👍!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2024 06:43 PM
Do you mean you want to hide the related list?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2024 10:24 PM
Hello @Diana Yazmin ,
Assuming you want to hide MRVS on change of some field value, you can achieve this requirement by creating a on change catalog client script as follows -
Select the appropriate catalog item and variable name.
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
if(newValue == 'abc'){ // replace the value
g_form.setDisplay('mrvs_demo', false); //replace mrvs variable name
} else {
g_form.setDisplay('mrvs_demo', true); /replace mrvs variable name
}
}
If my answer solves your issue, please mark it as Accepted ✔️& Helpful👍!