Skip to main content
Inspiring
March 13, 2015
Question

cfgrid html

  • March 13, 2015
  • 1 reply
  • 1747 views

Anyone able to edit a cfgrid in html format?  It works fine if it's a java applet, but it quits working when I change the format to html.  I submitted the bug to Adobe a few months ago, but I've received no response from them.

The submitted cfgrid form field is corrupt

    This topic has been closed for replies.

    1 reply

    Inspiring
    March 13, 2015

    What version of ColdFusion are you running? Can you provide some code?

    Are you usign this grid in a form with enctype="multipart/form-data"?

    Inspiring
    March 13, 2015

    It appears to be submitting the form name twice even though there is only one row in the cfgrid. It is also passing two of the cfgridcolumns twice, but the edited value only once.

    __CFGRID__CFForm_2__PesticideGrid

    <cfform action="grid_act.cfm">

    <cfgrid name = "PesticideGrid"

    format="html"

    striperows = "yes"

    width="1200"

    query = "getit"

    insert = "yes"

    delete = "yes"

    colHeaderBold = "Yes"

    selectMode = "EDIT"

    insertButton = "Insert a Row" deleteButton = "Delete selected row" >

    <cfgridcolumn name="cppestpesticideID" display="yes">

    <cfgridcolumn name="description" header="Description" width="900" display="yes">

    <cfgridcolumn name="pesticideid" header="Product"  display="yes" width="250">

    </cfgrid>

    <cfinput type="submit" name="pesticidesEntered" value="Save Chemical Comments">

    </cfform>

    The submitted cfgrid form field is corrupt (name: __CFGRID__CFFORM_2__PESTICIDEGRID value: __CFGRID__EDIT__=3�CPPESTPESTICIDEID�Y�DESCRIPTION�Y�PESTICIDEID�Y�1�U�37�37�acephat�508�508)