Reference field variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2024 07:51 AM
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 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2024 08:13 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2024 09:03 AM
Hi @Jude8 ,
You can try the reference qualifier in the variable B as below:
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2024 12:56 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2024 01:09 PM
javascript: 'table A field=' + current.variables.variableA.getDisplayValue(); i have written this