There was a post on an adobe forum wondering how to go about doing this, they state that they go on and on looking for how to do this, and so i’m gonna help’em out…

View the example
Download the File
the basis of what they want to do is rather easy, but the error handling in cfform when the format is flash, is SOOOOO HARD TOOO DEBUG!

1. Call the setUp() function in the onload=”setUp();” in the beginning form tag that your going to create further into the lesson.

<cfform name=“Performance”
timeout=“500” height=“800” width=“800”
format=“flash” skin=“haloSilver”
action=“action.cfm” method=“post”

2. Create a cfformitem type=”script” right under the cfform tag and create your setUp function as well as another function we are going to call, when one of your select boxes change.

<cfformitem type=“script”>
public function setUp():Void{
School.enabled = false;
public function changeStatus(status):Void{
if ( == 1){
   //this is case sensitive so be careful
School.enabled = status;

3. Create Your two cfselects, and call the changeStatus() function in the onChange=”” event of the first one.

<cfselect name=“Title”
label=“Title” width=“200”
tooltip=“Please enter appropiate title.”
required=“Yes” onChange=“changeStatus(true)” >

<option value = “0”>
Asso. & Asst. Deans
<option value = “1”>
Asso. & Asst. Provost & VPs
<option value = “2”>
Campus Directors

<cfselect name=“School” width=“200” required=“Yes” >

<option value=“1”>
<option value =“2”>



Hope this helps… take a look at the example.