You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to php-form-bu...@googlegroups.com
By default, nothing is checked. The "checked" values of the array are coming from the database. The values are saved in the database as CSV, but even if I try to pass them in like this:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to php-form-bu...@googlegroups.com
When you use a parameter array("value"-> "whatever"), That means that you want to specify a default value.
If I do not misunderstand , there should be only 3 attributes to construct your checkbox, Goals, goals and the last one is a modified version of your goalsOption array where you put out array keys and you keep only array values. Php fonction for this , I think, array_values, Check on the php help.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to php-form-bu...@googlegroups.com
So it turns out the problem was on my end, for some reason I was storing the CSV with quotes around each section so when I exploded the CSV it was putting all the values in the fist key of the array.
For anyone looking for the same solution this is the answer: