I am applying client script for setDisplayValue on "state" field of incident form but the script is not runnign on it what can be the issue?

ajinkya10
Kilo Contributor

Please help me out regarding this I am novice so learning things.

5 REPLIES 5

kemmy1
Tera Guru

here's my script.  I am using the call back function (I think!)

 

var caller = g_form.getReference('requested_for', setCompany);
function setCompany(caller) {
     if (caller){
          g_form.setDisplayValue('slt_company', caller.company);
       }
}