Add options based on choices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2020 08:01 AM
Hi,
In a catalog item i have Multiple Choice field (New and old choices in multiple choice field)
In that catalog item i have multi row variable set(Accessing) in that there is a field access(Multiple choice field) and choices are Grade1 and Grade2..Now Req is :
Under New -> Accessing(multirow variable set)-> access : Should only have Grade1
Under Old-> Accessing(multirow variable set)-> access : Should have both Grade1& Grade2( As it is) Mandatory
I tried with on change client script :
g_form.clearOptions('access');
if(newValue=='New')
{
g_form.addOption('access','Grade1 ');
g_form.removeOption('access','Grade2');
}
else if(newValue=='Old')
{
g_form.addOption('access','Grade1 ');
g_form.addOption('access','Grade2');
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2021 05:31 AM
Hi,
I just wanted to check-in on this.
If my reply above helped guide you correctly, please mark it as Helpful & Correct.
Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2020 08:12 AM
Hi Latha,
Find the below link that might help you.
Mark helpful or correct based on impact.
Regards,
Priyanka A.