I have two validators on my component. The first is a METHOD CALL that I pass some of the component values as parameters, do a series of checks and return a 0 for not valid, a 1 for valid and a corresponding message into two variables.
The second validator is an inline script that checks the values in the two variables. If the first is 0 it returns "16" and I want to display the returned message as the error message. I set the error message as sMyErorrMsg and specified the message as: (tried each of these variations)
%v
%1 - and specified my variable IDM_Return_Message in the Sub Parms.
%v(IDM_Return_Message)
Basically, what i get for my error message is the name of my variable and not it's content.
Took a screen shot, not sure if it is readable.

This is basically the error message I get
