There are a couple more of gotchas I would like to add when working
with actionscript and flash forms.  This will save you a lot of headache
as it took me awhile to figure out, since there's a lack of
documentation on actionscript and how it relates to working with flash
cfforms.

1) when using cfgrid with query and actionscript for alert validations,
the fieldnames are case-sensitive to the fieldnames established in the
database table, not to the cfgridcolumn names.
  Example: 
        if(users_grid.dataProvider[i]['User_Email']==''){
        
                break;
        }
        
        Field in the database table has to be 'User_Email'.

2) This kind of relates to your Point #6.  When edit fields in flash
forms dynamically via scripts, use editField() over
fieldname.display="test".  If you use fieldname.display=, flash will not
know that a field has been edited and will specify so when you submit
the form.  You have to use editField().



 

-----Original Message-----
From: Mike Klostermeyer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 22, 2005 6:13 AM
To: CF-Talk
Subject: RE: Flash Forms - Why Not?

I agree with the idea that flash forms should mirror html forms.  A
couple
examples:

1. Not being able to name fieldnames the same.  In HTML, it simply
returns a
comma delimited list upon submit, but throws an error in flash forms.
2. The calendar popup should have a way to quickly change the year
rather
than scrolling through the months (I know there are hacks for this, but
it
should be built in), and have a way to insert NO date.  Currently if you
have a date already selected, there is no way to clear it out.
3. File upload capability (I know there are hacks for this as well)
4. Get rid of the 64k limit/error
5. Ability to script new objects (currently the "New" keyword is not
allowed)
6. CFGRID does not recognize a new row when it is inserted/created
programmatically
7. Again, layout and page load time is a major pain in the butt,
especially
when dealing with dynamic forms that currently have to be compiles EVERY
time.

I realize some of these may be bugs and not features, but their
existence
made us dump our flash form development altogether.

Mike


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227548
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to