Hi All,
There is a requirement to limit one of the fields drop down values in the tab level.
I was able to achieve this in the header level using the below script in the Client script.
if (size(codeList) != 0)
{
if(codeLists0].code_value != null)
{
var option1 = =];
for (var i=0; i<size(codeList); ++i)
{
var codeValue = codeListsi].code_value;
var description = codeListsi].description;
var opt1 = createCodeTableOption(codeValue,description);
arrayPush(option1,opt1);
}
setControlOptions('model_param_rules', 'hierarchy_code', option1);
}
}
But it seems the above code is not working in the tab level.
Another similar thread related to the same question.
Limiting DropDown value based on specific parameter | IFS Community
Any idea or the example code, how to achieve this requirement in the tab level?
Thanks,
Hasara