getMessage() function is not working.

BoHyun Jung
Mega Sage

I create korean and english messages in System Localization -> Message.

 

English message appears well, but korean message doesn't appear.

 

How can i see korean message?

 

[Messages]

BoHyunJung_0-1697608734397.png

[client script]

function onChange(control, oldValue, newValue, isLoading, isTemplate) {
    if (isLoading || newValue === '') {
        return;
    }
	
    if (g_form.getValue('work_start') > g_form.getValue('u_additional_completed')) {
        getMessage('\'Additional completed\' must be greater than \'Actual start\'', function(msg){
			alert(msg);
		});
        g_form.setValue('u_additional_completed', '');
    }

}

 

1 ACCEPTED SOLUTION

@RaghavSh 

 

The cause has been found.

I put escape character in Key Value. It works well after removing escape character.

View solution in original post

5 REPLIES 5

RaghavSh
Kilo Patron

Did you changed your language to "Korean" and reloaded?


Raghav
MVP 2023

@RaghavSh 

 

Yes, i did.

This should work, In your screenshot what is the second field? is it language?

In english the language name should be "Korean". 

 

Try creating the record again.


Raghav
MVP 2023

@RaghavSh 

 

The cause has been found.

I put escape character in Key Value. It works well after removing escape character.