We did something like this by adding an onclick to the checkbox which points to a function like this:
Code:
function toggleOtherFields(c) {
if (c.checked) {
$("#otherField1").show("fast")
$("#otherField2").show("fast")
} else {
$("#otherField1").hide("fast")
$("#otherField2").hide("fast")
}
}
The onclick would be like this:
Code:
onclick="toggleOtherFields(this)"
Add the appropriate ids to each element to hide/show and match the names with those set in the function.