You can do this with Javascript.
Give the second ID option checkbox, and then use Javascript to show / hide it:
<script type="text/javascript">
function showOptions() {
var elem = document.getElementById("id_of_second_box");
elem.style.display = "block";
}
</script>
You can go to the function field by function by reference if you want, and there are many different ways to show / hide elements using Javascript and CSS, but something in accordance with the lines above should help.
source
share