hmm sorry it didn't work
this is just the part for checkboxes
this is the pastie for the whole function: http://pastie.org/3421271
the others are dropdown and are working really well
but I still have the following issue with checkboxes field
I think the $inputs are generated correctly - suppose I have two keys in the array I'm using to generate the checkboxes, then I will have correctly 2 checkboxes, with correct ID. If my array has, suppose, 3 keys, then the checkboxes will be 3 and so on. However those have empty values, no text and by default are checked.
Something is wrong with the $choices array perhaps? However if I do a var_dump of $choices and $inputs outiside of that context they look correct, I mean the arrays I'm using to generate the checkboxes should be ok.
Posted 7 years ago on Monday February 20, 2012 | Permalink