Hey Keri, understood, but unless I'm gravely overlooking something my post is feature proposal for the form framework, not a question about how to use it.
Daniel On Jun 11, 3:41 pm, Keri Henare <[email protected]> wrote: > Please use "symfony-users" mailing list. > The "symfony-devs" mailing list is for framework development. > > Kind regards, > Keri Henare > --------------------------------------------------- > [e] [email protected] > [w] kerihenare.com > [m] (+64) 021 874 552 > > PLEASE NOTE: I check my email 3 times per day and will respond at these > intervals. For anything urgent please ring me. > --------------------------------------------------- > > On 12/06/2010, at 10:34 AM, Richtermeister wrote: > > > Hi all, > > > I don't see a way to set the "trim" option for validators globally. > > Since this option defaults to false, all required form fields accept a > > simple " " (space) entry, which seems to defeat the purpose of a > > required field. > > > Of course I can set a minimum length, and while I'm at it, I can also > > set the "trim" option to true, but that is a pretty manual process > > accross many forms, which seems very unnecessary. > > > I'm wondering if we could have a static "setDefaultOptions" method in > > the base validator, similarly to how we can set default messages. > > > Does that make sense? > > > Thanks, > > Daniel > > > -- > > If you want to report a vulnerability issue on symfony, please send it to > > security at symfony-project.com > > > You received this message because you are subscribed to the Google > > Groups "symfony developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/symfony-devs?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
