Join the Webstudio community

Updated 2 weeks ago

How to setup Checkbox Field to get all the data in Webhook form?

I use the Webhook form with a Checkbox field and expect to receive all the checkmarked items on the payload. However, I've only received the last one. Here is how I set it up:

1) Checkbox with Name "checkbox" for each checkbox component
2) I select all checkmark entries in the form
3) The webhook returns only the last selection

I tested another form provider (Fillout), which returns the selections as an array. Is there anything specific I need to do in Webstudio to receive all the selected checkbox data?
J
2 comments
Each one needs a unique name
your'e sending

checkbox=a
checkbox=b
checkbox=c

So c is going to the the one that shows up unless you provide unique names to each one
Add a reply
Sign up and join the conversation on Discord