How to variable is only when RITM stage is requested and state is pending requestor ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 10:08 PM
Hi Team,
I have one variable in Catalog Item, I want It should be only visible when RITM is in Requested stage and state is pending requestore.
How can I achieve it ,
Thanks
Lucky
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 11:03 AM
Hi Lucky,
You can do this with an onLoad Catalog Client Script that Applies on Requested Items. Your script will look something like this:
function onLoad() {
if (g_form.getValue('state') == 5 && g_form.getValue('stage') == 'requested') { //replace with your State and Stage values
g_form.setDisplay('v_select', true); //replace with your variable name
} else {
g_form.setDisplay('v_select', false);
}
}