Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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);
       }
}