For this example script I want the data to list at the top and pass back to prefill the fields as well if you hit submit. This passes the basic variable just fine, but not the array. So what is the proper method for passing an array through a form?
Code:
<!---one string variable, one array --->
<cfif Not IsDefined ("Form.nameF")>
<cfset Form.nameF="">
</cfif>
Array is an complex object where form field is simple value so you can not pass array through form, only form fields. What you can do i scalar Array into forms fileds, which means grab whatever is in array and create form fields from it just like your example does with address. One that form is sibmited it will pass that info as form fields where you can do whatever with data even recreate an array again.