I guess you are looking for for all check boxes selected by default i.e. on load? Here is an example. Essentialy you need to reproduce all checkbox values pipe separated. If the values for checkbox list comes from SQL query you need to create a custom macro that will output pipe separated values. If it comes from custom table you can do it using built-in macro syntax. Let say your custom table calle dropdown and the valued field is ItemId, you can put as default value this macro:
{% string.Join("|", GlobalObjects.CustomTables["CustomTable.DropDown"].Items.ItemsAsFields.ItemID|(identity)GlobalAdministrator%}
The other way would be simply to add button and jquery to content before:
<div id=checkdiv>
<input type="button" class="check" value="check all" />
<script>
$cmsj(function(){
$cmsj('.check:button').click(function(){
var checked = !$cmsj(this).data('checked');
$cmsj('#checkdiv input:checkbox').prop('checked', checked);
$cmsj(this).val(checked ? 'uncheck all' : 'check all' )
$cmsj(this).data('checked', checked);
});
});
</script>
and after </div>