Advanced Reference Qualifier

ying zeng
Tera Contributor

Hello community,

I am facing following problem:

The A field has four choices, when selected, B will only display the corresponding record,
Two of the A selections must display the same content.
However, I could not set the same Vlue so I had to set the dependent_value.
I entered the following code in Reference qual and it does not work below,

how can I get the value of dependent_value? can anyone tell me how to fix it pls

 

 

javascript;'u_bunrui='+current.u_kategori.dependent_value

 

 

yingzeng_0-1693203136823.pngyingzeng_1-1693203154102.png

 

2 REPLIES 2

Laszlo Balla
Mega Sage
Mega Sage

If Variable B is a choice list with dependent values defined in the dictionary, and those dependent values are listed in Variable A, then you can do something like this:

 

javascript: 'dependent_value=' + current.variables.variable_a;

Sorry for the lack of explanation,
variable A is a selection list with dependent values defined in the dictionary, and those dependent values are listed in variable B. I want to write in the Advanced Reference of B