Groups | Blog | Home
all groups > coldfusion flash integration > april 2007 >

coldfusion flash integration : cfform/cfgrid form submit error


Mark Forsberg
4/17/2007 6:41:08 PM
I have a simple grid:

<cfgrid name="testGrid" format="flash" query="getHistory">
<cfgridcolumn name="idno" header="Employee ID">
</cfgrid>

The grid is populated just fine. When I submit the form instead of seeing the
form variables I am getting the following error:

The submitted cfgrid form field is corrupt (name: __CFGRID__NEWFORM__TESTGRID
value: __CFGRID__COLUMN__CFGRIDROWINDEX
__CFGRID__DATA__1__CFGRID__COLUMN__IDNO__CFGRID__DATA__3000080)

I've changed columns in the query and no difference. The error still occurs.
Any ideas on where this error comes from?
We are using CFMX 7.02 on a Windows 2000 Server. Query is coming from Oracle
8i.
thanks.

Mark
Mark Forsberg
4/18/2007 1:56:45 PM
I found the problem. I was calling a custom tag in application.cfm. This is a
CF5 app being upgraded.

<cf_inputFilter scopes="form,url" chars="%&;=" tags="script,object">

Apparently this breaks the posting action of a Flash Form. I removed the code
and now life is good again.

Mark
Cory Akins
9/21/2007 2:43:36 PM
Thanks to mark's comment I fixed my issue. I was doing something similar with an input filter, it automatically trimmed all form input, and set it back to itself. The CFGRID doesn't like this. I took out the input filter and no more corrupt form.

Thanks Mark

Cory

From http://www.developmentnow.com/g/66_2007_4_0_0_959371/cfformcfgrid-form-submit-error.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button