Client scripts guidance

HemaV
Tera Contributor

I need some help with client script modifications, where I can edit the "Substate" field and the drop-down in the "Issue table". I have made necessary modifications in business rule and configure dictionary, but client script is bothering where I can be able to edit the "substate" field of only few records and not all. Please kindly help with the modification of appropriate below scripts.  

1. Onchange

HemaV_0-1730712219834.png

 

2. OnLoad 

HemaV_1-1730712325442.png

 

1 REPLY 1

Robbie
Kilo Patron
Kilo Patron

Hi @HemaV,

 

A couple of clarification questions.. what is the difference between the onLoad logic and the onChange logic? It's a little hard to review via screen shots, but other than when they trigger (onLoad and onChange), they look the same? Can you confirm.... What am I missing?

As an FYI, an onChange script can run onLoad as well. You could simply remove the 'isLoading ||' syntax on line 2 of the onChange script meaning you only have 1 script to manage and change.

Line 2 would simply read:

if(newValue === ' '){

  return;

}

 

When you state you want to make changes, can you explain exactly what you want to do or change?

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.



Thanks, Robbie