Client Script - Set Form Labels

mauricio23
Mega Expert

Greetings!

On our Incident Form, I am setting the labels of our ESS Form using client scripts:

function onLoad() {

  g_form.setLabelOf('comments', "Notes");

}

It works great when in all cases except when the Incident Status is "Closed".   What should I be doing differently with my setup? Or what could cause this issue?

Edit:

When I view the ESS Form as an Admin, the onload script works correctly. Seems to fail when I am viewing it as an ESS User ( user with no roles ).

Screen Shot 2016-09-22 at 9.25.46 AM.png

2 REPLIES 2

Abhinay Erra
Giga Sage

Are you able to replicate this issue? It works fine for me. Which release are you on?


Yes - I can replicate this issue.



We are on Helsinki - Patch 4.