Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Flash Forms Not Working Correctly

Explorer ,
May 22, 2012 May 22, 2012

For some reason Flash forms using CFFORM aren't working correctly for us.  Here's a simplified example...

<html>

          <head></head>

          <body>

<cfquery name="getRounds" datasource="prisonersdilemma">

SELECT rounds FROM roundtable

</cfquery>

<cfdump var="#getRounds#" />

<cfform action="gameaction.cfm" method="post" name="settingsform" preloader="yes" format="flash" width="300" skin="haloBlue">

          <cfselect name="rounds" query="getRounds" display="rounds" value="rounds"><option value="test">test</option></cfselect>

</cfform>

          </body>

</html>

Instead of showing a select box with the options in it, it shows an empty select box.  Even the "test" option isn't in there.

The CFDUMP does render and shows 10 records in the database.  The forms render, but none of the data binds to the elements.  I've tried different queries, select box names, with and without the hard-coded <option> in there, and even an external CFC bind.  None of them will show anything in the select box.   Even this does not show anything...

<cfselect name="rounds"><option value="test">test</option></cfselect>

We're running ColdFusion 9.  Any help would be appreciated.

765
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 22, 2012 May 22, 2012
LATEST

In case anyone else comes across this, the issue is that Flash forms via ColdFusion 8 and 9 simply do NOT work in WebKit-based browsers (Safari and Chrome).  This code works fine in Firefox and IE.  I did some searching and apparently this is a known issue that others have experienced as well.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources