Page 1 of 1

[solved] Smarty and checkbox group

Posted: Wed May 26, 2010 3:57 pm
by jchelpdeskwv
$fld_103 is a checkbox group array returning integer values.

{$fld_103|@array_sum} gives me the following error: Warning: array_sum() expects parameter 1 to be array

Insights into the error?  

Re: Smarty and checkbox group

Posted: Wed May 26, 2010 5:42 pm
by jchelpdeskwv
Checkbox group arrays return a true or false when using a function.  Best to use individual checkboxes.