Populate Values from reference type

Shri8
Tera Contributor
 
1 ACCEPTED SOLUTION

Hello @Shri8 ,

 

Try to update the line as or try without toString() function.

var temp=g_form.getValue('you_glide_list_field_name').toString() +','+newValue; 

 Kindly let me know if there is any issue.

View solution in original post

8 REPLIES 8

Shri8
Tera Contributor

Hi Sunny,

 

This is throwing error as "function toString() { [native code] }, ". 

The requirement is when choosing value "X" in reference field then X should be populate in list field and if on changing X to Y in reference field then list field should populate value as X,Y. Please Suggest.

But, again, why are you wanting to do this?  There may be another way of doing what you actually need.

Hello @Shri8 ,

 

Try to update the line as or try without toString() function.

var temp=g_form.getValue('you_glide_list_field_name').toString() +','+newValue; 

 Kindly let me know if there is any issue.

Shri8
Tera Contributor

Hi @Sunny3008 

Thank you and script works.