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