Using PL culture I write: 9999,00
and see: Input has a wrong format: 9999,00

Using DE culture I write: 9999,00
and no error communicates so in that case is ok

BUT in both cases after wrote in input: 9999,00
and clicked save, this value in input is converting on: 9999.00
(comma is converting on dot)

On 3 Gru, 18:50, "oweit...@gmx.de" <oweit...@gmx.de> wrote:
> Sorry for the late reply.
> Maybe the country data in symfony is wrong?
> Please try it with culture = 'de'.
> At weekend i try to test this issue.
>
> On 27 Nov., 09:14, dziobacz <aaabbbcccda...@gmail.com> wrote:
>
> > Thx Fasi - I write:
> >        $this->setWidget('price', new sfWidgetFormI18nNumber(
> >                 array('culture' => 'pl')
> >         ));
>
> >         $this->setValidator('price', new sfValidatorI18nNumber(
> >           array('culture' => 'pl')
> >         ));
>
> > Unfortunately during edition record with price in field 'price' I see
> > price with dot instead of comma so i must by myself change dot on
> > comma :/
>
> > On 27 Lis, 07:48, Gábor Fási <maerl...@gmail.com> wrote:
>
> > > This might be what you are looking 
> > > for:http://www.symfony-project.org/plugins/sfFormI18nNumberPlugin
>
> > > On Fri, Nov 27, 2009 at 07:21, dziobacz <aaabbbcccda...@gmail.com> wrote:
> > > > In form I have:
> > > > $this->setValidators(array(
> > > >      'price' => new sfValidatorNumber(),
> > > >    ));
>
> > > > I think in many countries people uses comma instead of dot and real
> > > > nobody know ?
>
> > > > On 26 Lis, 20:39, dziobacz <aaabbbcccda...@gmail.com> wrote:
> > > >> I have form with price field - but I can write only price with dot,
> > > >> price with comma is incorrect - what can I do ? In my country price
> > > >> has got always comma.
>
> > > > --
>
> > > > You received this message because you are subscribed to the Google 
> > > > Groups "symfony users" group.
> > > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > > To unsubscribe from this group, send email to 
> > > > symfony-users+unsubscr...@googlegroups.com.
> > > > For more options, visit this group 
> > > > athttp://groups.google.com/group/symfony-users?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to