Custom RequiredValidation message (was: Motivation for having setRequired())

2007-08-08 Thread David Leangen
Ok, thanks for the explanation, Igor. Maybe, then, you can tell me if there is a better way of doing what I'm doing... I'm working on customising the required messages for each field. For example, for a contact form, rather than writing: - A value for field 'Enter your email' is required - A

Re: Custom RequiredValidation message (was: Motivation for having setRequired())

2007-08-08 Thread David Leangen
Ok, that's much nicer than my way. Thank you! On Wed, 2007-08-08 at 20:00 -0700, Igor Vaynberg wrote: there are two ways you can do it. if you want total control you can put this in the .properties of the page with the form formid.email.Required=Enter your email

Re: Custom RequiredValidation message

2007-08-08 Thread Igor Vaynberg
afaik they .properties can be attached to any container with associated markup: so page/panel/border should work furthermore you can move them up to the application.properties which is a global file. -igor On 8/8/07, David Leangen [EMAIL PROTECTED] wrote: if you want total control you can