Here is how it looks when you call a system message:
<pre>result.addMsg('Your message goes here.'); }</pre>
Here is how it looks when you call a Field message on a custom field:
<pre>result.addMsg('"cf_@field name.id@'", 'Your message goes here.'); }</pre>
Notice the field name is added before your message, so the system knows where to place the validation message, and the system knows where to bring your cursor should you click the message.
=Configuring Messages for Multilingual Systems=