/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-multiple-files-or-f-50e720a86cb2-multiple-files-or-fields-with-same-name-s0576-c0000.md

Multiple files or fields with same name - hono-docs

Multiple files or fields with same name Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt multiple...

Multiple files or fields with same name

Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#multiple-files-or-fields-with-same-name

Summary

If you have an input field that allows multiple or multiple checkboxes with the same name . ```ts twoslash import { Context } from 'hono' declare const c: Context // ---cut--- const body = await c.req.parseBody({ all: true }) body...

Content

If you have an input field that allows multiple <input type="file" multiple /> or multiple checkboxes with the same name <input type="checkbox" name="favorites" value="Hono"/>.

import { Context } from 'hono'
declare const c: Context
// ---cut---
const body = await c.req.parseBody({ all: true })
body['foo']

all option is disabled by default.

  • If body['foo'] is multiple files, it will be parsed to (string | File)[].
  • If body['foo'] is single file, it will be parsed to (string | File).
Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-multiple-files-or-f-50e720a86cb2-multiple-files-or-fields-with-same-name-s0576-c0000.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.