I am working on a Legacy Application and they are using Application.cfm, now that file cannot be converted to Application.cfc due to the fact that the site is too big and probably making a change will make it unstable
In one of the Pages, I have defined the form field as: keys[]
to return me an array. I have defined the
<cfset this.sameformfieldsasarray = "true">
in Application.cfm under the cfapplication
tag
But that does not seems to be working, it just creates the list rather than an array.
So Question is:
- How can i use that function?
- If i cannot use that function in Application.cfm, is there any other way to use it in The Page only where I need to the form value as an array
i am using coldfusion Version 11
I think you are setting the value to be a string rather than a boolean
Should be
Also consider using
application.cfc