Form Utilities CFC
Project Home • Blog • Forums • Wiki • Known Issues • Contact Project
Author: Brian Kotek (All RIAForge projects by this author)
The main capability of this CFC is to generate arrays and structures on the ColdFusion server based on the names of your form fields. So a form field named "user.firstName" would create a structure named "user" with a key of "firstName", holding the value of that field.
It will also generate arrays. A form field named "user.firstName" would create an array, with the first element in the array being a structure called "user" with a key of "firstName".
These can be created to any arbitrary level of complexity.
The CFC also has a handy function that will take an original list and a new list, and return a structure telling you what was added to the the list, removed from the list, and what stayed in the list. Useful for handling forms with checkboxes.
Fix added to handle situations where a form collection key and a form field had the same name.
Tested on CF8, but should run on CF 6.1+.
To enter issues for this (or any other) project, you must be logged in.
You may access this project's Subversion repository with your client here: http://svn.riaforge.org/formutils.
To view files and changelists associated with this repository, go here: http://formutils.riaforge.org/index.cfm?event=page.svnbrowse.
Anonymous users have read access to the repository while the administrator has write access.
This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.