How to display One Choice field values based on another choice field- in Catalog Item

chanikya
Kilo Sage

Hi,

here i have two Choice list variables, so how can i get values

How Display Site values based on Region, .....&   

javascript:'u_region  ='+current.variables.u_regionnn  is same script work for this also??? , 

i have tried it, but not working

 

site variables calling values from  Desktop Support table (two fields is there 1.Location Name, 2.REgion)

find_real_file.png

 

 

find_real_file.png

 

find_real_file.png

1 ACCEPTED SOLUTION

In the Site variable, you need a reference qualifier 

 

javascript:'u_region='+current.variables.u_regionnn

and set the variable attribute as ref_auto_completer=AJAXReferenceChoice,ref_qual_elements=u_regionnn

 

Make sure the back-end value of each option in Region in catalog form matches with the back-end values of each option in the region field on Desktop Support Location

 

 

 


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

16 REPLIES 16

SanjivMeher
Kilo Patron
Kilo Patron

In the site table, did you also add Variable attribute as

 

ref_qual_elements=u_regionnn


Please mark this response as correct or helpful if it assisted you with your question.

Hi Sanjiv,

 

u_regionnn is Region Variable name, it is not populating , can you please tell me where i am going wrong.

 

---->> the site table, did you also add Variable attribute as:  can you please tell me what i have to do it here.

 

find_real_file.png

 

 

find_real_file.png

In the Site variable, you need a reference qualifier 

 

javascript:'u_region='+current.variables.u_regionnn

and set the variable attribute as ref_auto_completer=AJAXReferenceChoice,ref_qual_elements=u_regionnn

 

Make sure the back-end value of each option in Region in catalog form matches with the back-end values of each option in the region field on Desktop Support Location

 

 

 


Please mark this response as correct or helpful if it assisted you with your question.

Thanks Sanjiv,

 

You have given grate Logical script here, Thanks!!!

Thank you Somuch