We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

client script and Display value

Nauman Chaudhry
Tera Contributor

client script on incident

 

I am getting back state value as 7 when I use g_form.getValue('state')  but I need the display value. When I use

function onLoad() {

   //Type appropriate comment here, and begin script below

              

               var stateName = g_form.getDisplayValue('state');

   alert('My state is ' + stateName); 

}

I get back incident number I guess an object. How can I can I get the display value in client script.

 

7 REPLIES 7

@Nauman Chaudhry any follow up required or all working ?

if working close the thread by marking the answer correct and push it to solved queue

Thanks

good day !

Raghav Sharma24
Giga Patron

use:

g_form.getDisplayBox('state').value;

This does not alert me at all.