|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Datefield on the Flash Form is not displaying date properlyThe cfinput tag a an attribute "mask" and you should say
mask="dd/mm/yyyy" or whatever you want. See the documentation on the cfinput tag for details on masking values. On Wed, Mar 12, 2008 at 2:04 PM, Axel Schultze <as@...> wrote: > Hi Chris, > even so it is an older post - but I'm interested how you solved the flash date format issue. > bind="{GridUnit2.dataProvider[GridUnit2.selectedIndex]['#dateformat(registerdate,"mm/dd/yy")#']}" > value="#dateformat(registerdate,"mm/dd/yy")#" > doesn't work for me either. > > Thanks > Axel > > > > > > > Hi, > > I set it up originally to mm/dd/yyyy but I took it off since it did > > not work. I had the date to come by using dateformat() function up on > > the form once but it kept displaying the same date from the database > > for every single record. > > bind="{CoursesGrid.dataProvider[CoursesGrid. > > selectedIndex]['#dateformat(course_list.date_qa,"mm/dd/yyyy")#']}" > > value="#dateformat(course_list.date_qa,"mm/dd/yyyy")#" > > > This is the closest I got, but then even though it would submit the > > right date to the database in the right format it would not display it > > properly on the flash form so I decided to stick to > > bind="{CoursesGrid.dataProvider[CoursesGrid. > > selectedIndex]['date_qa']}" > > > until i can find the solution. However with the long format I have to > > redesign the database due to the fact that it does not fit the > > definition of the date I wanted to store originally in the database. I > > have to make it to accept most likely strings or long dates (if they > > exist I will have to check in the documentation). I kept reading > > about it and it seems that nobody has solution to it as of yet and > > everybody keeps having the same problem with the flash forms. Does > > anybody know how to solve this? > > Thanks > > > > >What is the mask attribute set to? > > > > > > > > >Chrfis > > >-- > > >Chris Velevitch > > >Manager - Sydney Flash Platform Developers Group > > >m: 0415 469 095 > > >www.flashdev.org. > au > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Flash/message.cfm/messageid:264 Subscription: http://www.houseoffusion.com/groups/CF-Flash/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.30 |
| Free embeddable forum powered by Nabble | Forum Help |