How can I select a checkbox and pre-select other checkboxes in the form?