Title:
sameformfieldsasarray setting does not work with enctype="multipart/form-data" POST
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): N T. / ()
Created: 03/16/2019
Components: Language
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: N/A / CF2016U12
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Windows 7
Vote Count: 0
The application setting "sameformfieldsasarray" does not work with either:
* Method=POST enctype="multipart/form-data"
* Method=GET
Steps to Reproduce:
Load the html code below and submit the two forms.
<h4>Method=GET</h4>
<form method="GET">
<input type="text" name="fruit" value="Apple">
<input type="text" name="fruit" value="Grape">
<input type="submit">
</form>
<h4>Method=POST enctype="multipart/form-data"</h4>
<form method="POST" enctype="multipart/form-data">
<input type="text" name="fruit" value="Apple">
<input type="text" name="fruit" value="Grape">
<input type="submit">
</form>
Actual Result:
The value of the field named "fruit" is a comma separated list
Expected Result:
An array of values
Any Workarounds:
This setting only works with Method=POST and and the default enctype ("application/x-www-form-urlencoded")
Attachments:
Comments: