How To Access Badly Named Form Fields

8 March 2007 01:58 (EST)
Sometimes you need to process the results of a form which was made up of fields named with invalid characters (one was "first name"). Trying to access the field as #FORM.first name# won't work and will throw an error. So how to access these fields?

The answer is to remember that FORM is not just a prefix, it is also a structure. Structure members can be accessed as #structure.member# and as #structure["member"]#. And that latter format will allow access to badly named form fields (as the name is enclosed in quotes). So, the solution is to use #FORM["first name"]#.

Faster Dreamweaver Loading

8 March 2007 01:57 (EST)
Here's another tip to improve Dreamweaver load time. In Preferences select the File Types / Editors screen and add .cfm and .cfc to the Open in Code View list. You'll lose support for design view and the Insert bar, but the load speed will be much faster.

Why is the CFIDE directory called CFIDE?

8 March 2007 01:57 (EST)
Back before Allaire acquired the Homesite product from Nick Bradbury, a fully web-based ColdFusion administration AND development experience was envisioned. It was to use a combination of client-side Java and ColdFusion server-side code. The "/CFIDE" (or "ColdFusion Integrated Development Environment") directory was the designated location for this administrator and development environment.
Pages previous   next
3 4 5 6 7