On 4/14/06, L Frohman <[EMAIL PROTECTED]> wrote:
> Is there a way I can have different error messages for two different
> fields that use the tomahawk regex validator?

Yes, the latest tomahawk snapshot supports the "message" attribute on
all tomahawk and sandbox validators.

<t:validateRegExpr pattern="yyyyy" message="field2 must be yada yada yada" />

I think I added the feature two or three weeks ago.   You'd have to
check the JIRA issue to find out when for sure.  "message" is a
message key, but I think in the absence of finding the message key in
your message properties file, it'll output the text.

Reply via email to