macromedia.coldfusion.flash_integration
[Top] [All Lists]

formatting bound item

Subject: formatting bound item
From: "rbhemau256" <webforumsuser@xxxxxxxxxxxxxx>
Date: Tue, 18 Sep 2007 02:28:54 +0000 (UTC)
Newsgroups: macromedia.coldfusion.flash_integration

I feel silly asking this, but for the life of me, I can't get it to work.

 I want to format numbers that are being displayed in a CFFORMITEM tag with a 
bind attribute.  How do I format the number so:
 a. it uses a thousands seperator
 b.it uses a currency format

 The cfinput is being populated from a flash remoting call.  Is there some sort 
of actionscript that formats? 

 Here is an example:
 a
 <cfformitem type="text" bind="Goal: {Goal.text}"></cfformitem>
 <cfinput name="Goal" type="text" value="10000">
 b
 <cfformitem type="text" bind="Sale: {Sale.text}"></cfformitem>
 <cfinput name="sale" type="text" value="100.00">




<Prev in Thread] Current Thread [Next in Thread>
  • formatting bound item, rbhemau256 <=