Axelology
Posted At : December 8, 2006 7:35 AM | Posted By : Axel Jensen

Working with cfselect in cfform

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...

[More]

Posted At : December 4, 2006 7:47 AM | Posted By : Axel Jensen

Using cfform, making a datefield be a preselected Year

Somebody once told me they didn't like flash forms because they were far too limited, I agree that flex is a better choice after using flex... but I would also say, that flash forms in coldfusion 7.0.2 have their own place as well...

[More]

Posted At : November 4, 2006 7:21 PM | Posted By : Axel Jensen

Filter Function for cf flash forms

Use this to filter data in a datagrid

I always get scared that asfusions blog isn't going to be available, one day i went there, and the blog and examples part was totally gone, i was freaking out, i go there as a reference all the time... Here is a function i use alot, and so i'm going to blog it as well as it is available on asfusion.com

[More]

Posted At : November 4, 2006 7:16 PM | Posted By : Axel Jensen

Use a combo box in a CFGrid

This is a great example, and it's great for learning what actionscript can do... It uses an import of an actionscript file to put a combo box in a cell in a cfgrid... it's awesome.View the example

[More]

Posted At : November 4, 2006 7:14 PM | Posted By : Axel Jensen

Submit a cfgrid to the session!

The challenge with using cfgrid, is that it doesnt exist in the form in nothing was changed.... here is a script that runs through the grid, and gets the values and puts them in the form scope...

You can use this to submit to the session, or another scope of some sort. The code is based on another great site! asfusion, fantastic examples, and they are how i got knowledgable of the subject.

View the example

[More]

Posted At : November 2, 2006 4:04 PM | Posted By : Axel Jensen

Use Javascript in flash forms

Here is a way that you can use javascript with flash forms,

we ran into a situation where the flash form got so big on the page, that we had to use javascript to scroll to the top of the page...

View The example

Download the files

<cfsavecontent variable="doThis">
   getURL("javascript:showMessage(" + "'test'" + ")");
</cfsavecontent>
<script language="javascript">
function showMessage(msg)
{
   alert(msg);
}
</script>

<cfform name="myform" height="200" width="200" format="Flash">
<cfinput type="button" name="test" value="test" onClick="#doThis#">
</cfform>

[More]




Blog provided and hosted by CF Webtools. Blog Sofware by Ray Camden.