On a catalog form we have 3 select box variables(A,B,C) for each variable has 300 question choices , So when we select 'A' need to display some 'B' dropdown values and based on B need to populate 'C' values. So my question is how to do it dynamicall
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2022 08:24 AM
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 12:21 AM
HI,
You would require onchange client script on the select item variable; sample script below, just adjust or tweat as per your values:
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading) {
return;
}
g_form.clearOptions('request_type');
if(newValue == 'Card Swipe Unit'){
g_form.addOption('request_type', choicevalue, choiceLabel);
g_form.addOption('request_type', choicevalue, choiceLabel);
}
}
Mark my answer correct & Helpful, if Applicable.
Thanks,
RS