Sameformfieldsasarray setting result in incorrect results

#1

When using the setting this.sameformfieldsasarray or this.sameurlfieldsasarray, the documentation implies that Arrays will be interpreted if the fields have the same name. If not, the returned values should be strings.

However, when setting that application variable to “true”, every field is returned as an array, whether or not the field is duplicated.

See test page and reslt here:

http://lucee.spfmgmt.com/varTest.cfm

1 Like
#2

Really surprised that no one else has encountered this. And that no one responded.

We just ran into this issue ourselves. I created a bug report for it here: https://luceeserver.atlassian.net/browse/LDEV-2270

Did you put together a workaround?