Reference qualifier for lookups select box is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2019 03:19 PM
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!
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2019 03:53 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2019 03:59 PM
Hi Samuel,
This previous article should help you:
Regards,
Raf