If you want the solution in JQuery, here you go:
$(".formGroup").hide();
$('#chooseForm input:checkbox').on('change', function() {
if($(this).is(':checked')) {
$("#" + $(this).val()).show();
}
else {
$("#" + $(this).val()).hide();
}
});
A complete example:
http://jsfiddle.net/exttq/
Hope it helps!
2
solved Need to display forms as per the checkboxes selected [closed]