How to populate Lookup Select Box based on value of another Lookup Select Box?

Community Alums
Not applicable

I have two variables on my catalog item, Select Location and Select User pointing to location and user tables respectively.

Based on location field, user must populate.

Variable - Select Location

find_real_file.png

find_real_file.png

Variable - Select User

find_real_file.png

find_real_file.png

find_real_file.png

 

I have given Reference qualifier and variable attributes, but it is still not working. Nothing is getting populated in user variable. Suggest what I am doing wrong over here.

1 ACCEPTED SOLUTION

Lookup select box should also do in this case

You can also try with this  ref  : javascript:'location.name='+current.variables.located_at

View solution in original post

9 REPLIES 9

Jagadish10
Mega Expert

Hi Sindhu,

Please refer to the below article regarding the select Lookup options. Let me know If it doesn't work.

Click here

Thanks

Jagadish

Abdul Wahid
Kilo Expert

hi sindhu

so my guess is your requirement is .. based on the location ..user must populate ??

if so ..then it is 

 

open your variable - >  go to type specification where you can 

javascript:'location='+current.variables.your_location_variable

 

and then default section in the same page

Variable attributes will be there 

ref_qual_elements=your_location_variable

 

hope it works 🙂 let me know if not 

Abdul Wahid
Kilo Expert

what you did was right ! .. my mistake that i didn't see your post properly

Community Alums
Not applicable

yes but it didn't work. User variable is not displaying anything. Not sure why.