On 4/13/06, Asad Habib <[EMAIL PROTECTED]> wrote:
> Is there a way to associate multiple messages with a single validation
> rule? In particular, I would like to associate multiple messages with the
> required rule so that I can have a different message displayed depending
> on the field being validated. Thanks.

Yes you can use a message element for the particular field to override
the "default" required validator message

<field property="foo" depends="required">
     <msg name="required" key="foo.required.error"/>
</field>

Niall

> - Asad

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to