[thelist] Flash Forms with CF - error diagnostics
Morgan Kelsey
morgan at morgankelsey.com
Wed Aug 28 13:41:00 CDT 2002
chris, jeff,
in cf6(mx) server, there is a new 'flash' scope
variables prefixed by 'flash.' should be available to the flash movie.
haven't played with it yet myself.....
nagrom
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > From: Chris Hayes
> >
> > When a Flash form posts it can action a cfm file to
> > receive the form data to be processed, much the same
> > way as an HTML form. The only difference being that
> > no window is opened, the process is entirely within
> > the flash movie.
> >
> > Does anybody have a ideas or inspiration on how to get
> > my CF error diagnostics back? The form can fail to
> > post and nobody would ever know:(
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
>
> have the post page setup to send back an errors associative array
(structure in cf-speak) where each form field that was incorrect has a key
with the value being the particular error message generated server-side for
that form field. if the errors array doesn't have any keys then the form
posted successfully. if it does, loop over the array in flash (using a
for/in loop) displaying the error message with each field that was
invalid/incorrect/missing data. now, the trick will be having the cf
template generate the error in a fashion that's readable by the flash file.
>
More information about the thelist
mailing list