Can Someone help me how to add the gs.getSession().getLanguage() for the existing javascript (javascript: "name=item_option_new^element=ctms_subcategory^dependent_value=" + current.variables.request_type)

NagaNandini N
Tera Guru

Can Someone help me how to add the gs.getSession().getLanguage() for the existing javascript (javascript: "name=item_option_new^element=ctms_subcategory^dependent_value=" + current.variables.request_type).

Please find the attached screenshot for your reference.

1 ACCEPTED SOLUTION

Vamsi Sreenivas
Giga Guru

Hi NagaNandini,

 

Not sure if you are asking how to add gs.getSession().getLanguage() to the reference qualifier......

 

javascript: "name=item_option_new^element=ctms_subcategory^dependent_value=" + current.variables.request_type + "^VARIABLE_NAME=" + gs.getSession().getLanguage()

 

In place of VARIABLE_NAME use the variable you want.

Please mark my answer as Helpful / Correct if my response resolves your issue.

 

Regards,

Vamsi S

View solution in original post

2 REPLIES 2

Vamsi Sreenivas
Giga Guru

Hi NagaNandini,

 

Not sure if you are asking how to add gs.getSession().getLanguage() to the reference qualifier......

 

javascript: "name=item_option_new^element=ctms_subcategory^dependent_value=" + current.variables.request_type + "^VARIABLE_NAME=" + gs.getSession().getLanguage()

 

In place of VARIABLE_NAME use the variable you want.

Please mark my answer as Helpful / Correct if my response resolves your issue.

 

Regards,

Vamsi S

Thank you for your response.