Submit array of dynamic checkboxes to my SC API script

I’m hoping someone can help me with this.

I have a dynamic form where the questions are pulled in from a query. Some of the questions have multiple checkboxes and the options are stored in a JSON field. I’ve been able to show these checkboxes in the form but I’m struggling with names and ids for submitting to my API script which processes it all. I want to store the checked values in a JSON field in my answers table.

I hope I’ve explained this clearly enough. I think I’m just getting in a muddle with arrays, names, multiples, ids, etc.

Community Page
Last updated: