The CreatorCon Call for Content is officially open! Get started here.

How to set value of select box variable via client script

Priyanka Rai
Tera Contributor

I am trying to set a look up select  box field via client script.

Please help me with this.

1 REPLY 1

Community Alums
Not applicable

Hi Yanka,

You need to set the variable with Value of of "Lookup field name".

For example : 

Lookup from table = Hardware; 

 
Then you can set the variable value with values of Name field on Hareware table.
 
 
g_form.setValue("Test", "*BUD-IBM");
 
find_real_file.png
 
 
find_real_file.png
 
 
g_form.setValue("Test", "*BUD-IBM");
find_real_file.png