Reference qualifier for lookups select box is not working

samuelscott
Tera Expert

Hello,

 

I created a lookup select box variable named "subcategory" where I want the options on the drop down to be directly dependent on the option chosen before from the "Product Category" variable. I know that in order to have the reference qualifier work dynamically with a variable value chosen before, a variable attribute must be implemented such as: "ref_qual_elements=category". I've based my approach off another look up select value that does work, however, I can't seem to understand why in this case it doesn't work. 

 

This is what i have placed under the reference qualifer field----> javascript: 'category=' + current.variables.u_product_category + '^category!=NULL'

This is what i have placed under the variable attributes field---> ref_qual_elements=category, is_searchable_choice=true

 

Please let me know if someone can figure out the issue!

 

Thanks!

2 REPLIES 2

Manish Vinayak1
Tera Guru

Could you try changing the variable attributes to the following:

ref_qual_elements=u_product_category

 

ref_qual_elements should contain the list of variables which are being used as dependent variables on your advanced qualifier condition; and I see you are using u_product_category as a dependent variable in your reference qualifier.

Hope this helps!

Thanks,

Manish

Raf1
Tera Guru