House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Flash (CF-Flash)

Datefield on the Flash Form is not displaying date properly

Author:
Bart Zolnowski
04/03/2007 11:14 AM

Hi, I finally figured it out. All it took was to change the field types in my database (I am using PostgreSQL). By common sense I desgined the fields to be "date" and never even thought that it would cause the problem. So I just re-designed the database by changing "date" fileds to "varchar" and everything works perfect. Thanks for help, Bart > 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


Search cf-flash

May 25, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference