Reference field variables

Jude8
Tera Contributor

I have two reference field variables . They both point to same table . Variable A has 10 records , variable B options should be displayed based on selected choice in the variable A .

7 REPLIES 7

AshishKM
Kilo Patron
Kilo Patron

Hi @Jude8,

Did you try to add some qual ref condition with variable B.

 

-Thanks,

AshishKM

 

 

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

SN_Learn
Kilo Patron
Kilo Patron

Hi @Jude8 ,

 

You can try the reference qualifier in the variable B as below:

SN_Learn_0-1721318407734.png

 

Here, you have to change the 'group' field based on which you want the second field to show the list.

'group_name' will be replaced with the variable name of 'Variable A'

 

You need to modify it according to your requirement.

 

Mark this as Helpful / Accept the Solution if this helps

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

Jude8
Tera Contributor

Hi @SN_Learn ,

 

I have tried it but didnt work. I have created 2 custom tables and  i have two ref variables in catalog item. variable A refers to Custom table A , Variable B refers to custom table B . Custom table B has a reference field with custom table A. 

 

whenever variable A is selected , variable B should display choices based on var A. Can you help on this 

Jude8
Tera Contributor

javascript: 'table A field=' + current.variables.variableA.getDisplayValue(); i have written this