FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

FormUtilities

v1.0.2 Public

FormUtilities

A coldbox module that wrap Brian Kotek form utilities plugin

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[1].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.

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Actions
Current
1.0.2 Jan 04 2017 08:53 PM Jan 04 2017 09:04 PM
Version History
1.0.1 Dec 29 2016 03:47 PM Dec 29 2016 03:47 PM
1.0.0 Sep 28 2015 10:06 AM Jun 09 2016 02:57 PM

 

No collaborators yet.
     
5.00 / 2
  • Sep 28 2015 10:06 AM
  • Jan 04 2017 09:04 PM
  • 1647
  • 586
  • 56