How to Change Work Note and Additional Comments Default Value

Masashi IIda
Tera Contributor

How to Change Work Note and Additional Comments Default Value?

I understand that it is not strictly a default value, but I would like to know how to change the wording in the screenshot below."

MasashiIIda_0-1706172929571.png

 

3 REPLIES 3

Maik Skoddow
Tera Patron
Tera Patron

Hi @Masashi IIda 

after enabling i18n debugging you can see the prefixes for every piece of text

MaikSkoddow_0-1706174367806.png

And with the help of these prefixes and the article Everything you ever wanted to know about the 5 translation tables you can replace the messages.

Maik

 

Pratiksha2
Mega Sage

Hello @Masashi IIda ,

1. There are two OOTB client scripts are available in the system with the name of "Modify Comments Label" and "Modify Work notes Label" so you have to change annotation based on your requirement. 

Or 

2. As you want to change the 'help text' of "work notes" and "additional comments" .

If yes then the best way would be: Onload Client Script.

 

function onLoad() {
    var workNotes = g_form.getControl("work_notes");
    if (workNotes) {
        workNotes.placeholder = "New Work Notes";
    }

    var comments = g_form.getControl("comments");
    if (comments) {
        comments.placeholder = "New Additional Comments";
    }

}

 

Let me know your views on this and Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks,

Pratiksha

 

Pratiksha2
Mega Sage

Hello @Masashi IIda ,

 

Did you see my earlier response advising solutions to Change Work Notes and Additional Comments Default Value? 

 

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

 

Thanks,

Pratiksha