it's not a quick task, it is definitely more involved and requires hand coding.
first, a multiple checkbox like this will pass the selected values using an array. to validate the checkboxes, the array needs to be converted to a comma separated string.
add the following code at line 1 to do that:
<?php
if($_SERVER["REQUEST_METHOD"] == "POST") {
foreach($_POST as $key => $val) {
if(is_array($_POST[$key])) $_POST[$key] = implode(", ", $_POST[$key]);
}
}
?>
when validation fails, the validated entries code for the checkbox (yours may look different):
<?php echo(ValidatedField("pagename","Checkbox")) ?>
will give us a comma separated list of the checked items, we need to convert that back to an array by adding the following code just before the form tag
<?php $selected = explode(", ", ValidatedField("untitled4","Checkbox")); ?>
then in each checkbox, we can use the in_array function to see if that checkbox value is in the array, for example:
<input type="checkbox" name="Checkbox[]" value="1" <?php if(in_array("1", $selected)) echo("checked=\"checked\""); ?> id="CheckboxGroup1_0" />
Checkbox</label>
<br />
<label>
<input type="checkbox" name="Checkbox[]" value="2" <?php if(in_array("2", $selected)) echo("checked=\"checked\""); ?> id="CheckboxGroup1_1" />
Checkbox</label>
<br />
<label>
<input type="checkbox" name="Checkbox[]" value="3" <?php if(in_array("3", $selected)) echo("checked=\"checked\""); ?> id="CheckboxGroup1_2" />