The validator, by default uses stuff like this:

errors.required={0} is required.

I'd like to be able to use entirely different message keys depending on the field, rather than always using errors.required. The solution for the "required" validator was to simply use a passthrough key like this:

validation.passthrough={0}

..and then edit validator-rules.xml to use msg="validation.passthrough". However, the other validator plugins are a little more complex, like date masks, maxlength, etc. Is there a better way to approach this?

Thanks,
 Scott

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

Reply via email to