function notemptyfield($value, $name) {
        $found = false;
        foreach ($value as $checkboxitem) {
            if (strval($checkboxitem) !== '') {
                $found = true;
                break;
            }
        }
        return $found;
    }
function notemptyfield($value, $name) {
        $found = false;
        foreach ($value as $checkboxitem) {
            if (strval($checkboxitem) !== '') {
                $found = true;
                break;
            }
        }
        return $found;
    }
function notemptyfield ( $ value , $ name ) { $ found = false ; foreach ( $ value as $ checkboxitem ) { if ( strval ( $ checkboxitem ) !== '' ) { $ found = true ; break ; } } return $ found ; }
Check whether any boxes in the checkbox where checked.

@param mixed $value The submitted values
@param mixed $name
@return bool
Check whether any boxes in the checkbox where checked .