Hi all,
Is it possible to add a button to a checkbox_set form that allows to check all checkboxes?
I've tried adding a new function in BxBaseFormView.php but I haven't got it to work (probably because the approach is completely wrong)
function toggleAll(&$aInput){
$aAttrs = $aInput['attrs'];
for($cnt='1'; $cnt <= count($aInput['values']); $cnt++)
{
$aAttrs['checked'][$cnt] = 'checked';
}
}
Thank you very much in advance