Sameformfieldsasarray setting result in incorrect results

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

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: [LDEV-2270] - Lucee

Did you put together a workaround?