Open johngordon71 opened 8 years ago
I am using iCheck to style some checkboxes in a little array:
//Display the checkbox echo "<td width=\"2%\">"; echo "<div class=\"skin skin-square\"><input type=\"checkbox\" class=\"tickbox_".$row_type."\""; if (in_array($keyword['ActivityID'],$user_activities_it)) { echo " checked"; } echo " name=\"ckbox[".$keyword['ActivityID']."]\" id=\"ckbox[".$keyword['ActivityID']."]\"></div>"; echo "</td>\n";
I added <div class=\"skin skin-square\"> and
But now when the form is submitted the values are not being stored in my database table - which obviously is a deal breaker.
Any clue as to why that might be, or what solution could be?
Many thanks.
I've the similar issue. When I submit the form the checkboxes are not included in the $_POST array. On server side if I check the list of fields submitted, I don't find 'iCheck' checkboxes.
I am using iCheck to style some checkboxes in a little array:
//Display the checkbox echo "<td width=\"2%\">"; echo "<div class=\"skin skin-square\"><input type=\"checkbox\" class=\"tickbox_".$row_type."\""; if (in_array($keyword['ActivityID'],$user_activities_it)) { echo " checked"; } echo " name=\"ckbox[".$keyword['ActivityID']."]\" id=\"ckbox[".$keyword['ActivityID']."]\"></div>"; echo "</td>\n";
I added <div class=\"skin skin-square\"> and
But now when the form is submitted the values are not being stored in my database table - which obviously is a deal breaker.
Any clue as to why that might be, or what solution could be?
Many thanks.