* Bruce Atherton:

> I'm using  Cocoon forms,  and every  time I have  a number  in a
> field it  is coming back  formatted with commas embedded  in the
> number. [...] How do I turn off this behaviour?

First  you  can  set  the   "locale"  property  of  your  form  JS
object to  influence the number  formatting.  You can  also change
the  formatter  in  the   binding.   The  following  example  uses
PlainLongConvertor instead of the default FormattingLongConvertor:

<fb:value id="my-number" path="path-to-my-number">
  <fd:convertor datatype="long" type="plain"/>
</fb:value>

HTH,
-- 
Jean-Baptiste Quenot
Syst�mes d'Information
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 52 90
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com/

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

Reply via email to