Archives

Viewing by category: CFForm (58 entries)

Aug
16

CheckBoxes in a cfgrid

116 comments Posted by: Nahuel

This is an old example that we made for a presentation that we gave to the Michigan user group. It shows how to check and uncheck checkBoxes in a cfgrid. Once you have a least one item checked, you can remove it from the grid. A confirmation pops up before the action gets executed just in case. Then you need to submit the form to see the results.

Checkboxes in a cfgrid read more Category: CFForm | ColdFusion |

Aug
14

Detecting Flash Player 8 on a cfform

6 comments Posted by: Nahuel

Now that we are using some features of the flash player 8 such as file upload, we need detect whether the user has it installed in his/her computer. Macromedia has recently published an article on DevNet that explains how to implement a detection script and new feature called "Flash Player Express Install", which greatly simplifies the flash install. To be honest, I didn't read the article, but instead, I made a small script that checks for the flash 8 inside the cfform.

read more Category: CFForm | ColdFusion |
Aug
12

Showing an image after upload

84 comments Posted by: Laura

Custom icons in cftreeIn many cases, we upload images, so I want to show how to display the uploaded image right there in the flash form. Right now, we can only load jpgs.

In the simplest case, the file name of the picture will be the same when it gets uploaded. So in order to show it, when only need the original file name.

read more Category: CFForm | ColdFusion |
Aug
12

File upload explained and expanded

129 comments Posted by: Laura

As we showed in our post File Upload with ColdFusion Flash Forms, file upload is now possible with Flash 8. I introduced it with a custom tag that nicely wraps the functionality of the file upload. It is quite flexible, -hopefully- easy to use, and I believe I’ll use it whenever I need to add a file field in my flash forms. But for those of you who are curious to know how it works, or need additional functionality (which I may add to the tag in the future), this is a walk through the main functions that make it work.

read more Category: CFForm | ColdFusion |
Aug
12

Custom CFTree icons

25 comments Posted by: Laura

Custom icons in cftreeHave you ever wondered if it was possible to change the folder icons in the Flash version of cftree? The answer is yes, with a little of workaround.

This example will show you how to change the opened/closed folder icon, the leaf icon, the icon of a specific node, and the default triangles that open and close nodes. Because we need to set the default values before the data is loaded, we cannot change the icons of an already loaded cftee, unless we change each of the nodes one by one.

read more Category: CFForm | ColdFusion | Flash Remoting |