What gets submitted
How do multiple values reach your backend?
A <select multiple> sends one name=value pair per chosen option and a file input sends one part per file, both under the same name. An email input with multiple sends a single comma-separated value.
| Markup | Submitted as |
|---|---|
<select name="topics" multiple>, two options chosen | topics=pricing&topics=api (the key is repeated) |
<select name="topics" multiple>, nothing chosen | Nothing. The field is left out. |
<input type="file" name="attachments" multiple>, three files | Three multipart parts, each named attachments |
<input type="file" name="attachments" multiple>, no file | One empty part named attachments with an empty filename |
<input type="email" name="cc" multiple> | One value, like cc=a@x.com,b@y.com (whitespace around commas is removed) |
multiple on text, number, date or other types | Ignored. The field sends one value as usual. |
Files only arrive as files with enctype="multipart/form-data" on the form. splitforms stores uploads on paid plans with Storage connected.
Sources: WHATWG HTML Standard: constructing the entry list · MDN: HTML attribute multiple




