Skip to content

How to manage multiple checkboxes with same name #3116

Closed Answered by kiliman
jorisre asked this question in Q&A
Discussion options

You must be logged in to vote

You had the right idea, just the wrong name.

formData.getAll("my-input")

NOTE: Object.fromEntries() will only get the last entry as it doesn't handle multiple items.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jorisre
Comment options

@berrodriquez26
Comment options

Answer selected by jorisre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants