form2CFC - Fills an associated CFC with the value of formField


Category:
Scripts
ColdFusion
Requirements:
Seller:
Price:
-
System:
Rating:
4.2
License:

Description - form2CFC - Fills an associated CFC with the value of formField



Fills an associated CFC with the value of formFields. The methods of your CFC have to be the following naming conventions: set#formFieldName#.So if your formField is named "lastname" the CFC must implement a method named "setLastname". If there are formfields without corresponding methods in your CFC no error will be thrown; but you can reAssign an other CFC to be filled with this formField (see example). Also if there are no formFields with corresponding methods, you can reassign an other CFC. But in both cases you must not. The values from the formFields will be transfered to your CFC using this setter-Methods by form2CFC.



More in ColdFusion-form2CFC - Fills an associated CFC with the value of formField

Value Associated Corresponding Methods Filled With This