Codice PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
title>Documento senza titolo</title>
<
script language="javascript" type="text/javascript">
function 
q21_change(){

if (
document.getElementById("q21").checked==true)
document.getElementById("q6").style.visibility "visible";
else
document.getElementById("q6").style.visibility "hidden";
}


</script>

</head>

<body onload="q21_change()" >
<table>
<tr>
<td width="5%"></td>
<td width="3%">Q21-</td>
<td width="92%">
Come deve essere un buon operatore del consultorio :

<ul>
<input type="checkbox" name="q21" value="capace di esprimersi" > Capace di esprimersi in modo chiaro e comprensibile

<input type="checkbox" name="q21" value="capace di relazionarsi" > Capace di relazionarsi con i giovani 

<input type="checkbox" name="q21" value="comprensivo" > Comprensivo

<input type="checkbox" name="q21" value="giovane" > Giovane

<input type="checkbox" name="q21" value="alla mano" > Alla mano

<input type="checkbox" name="q21" value="altro" id="q21" onchange="q21_change()" > Altro
[/list]
</td>
</tr>
<tr id="ac">
<td width="5%"></td>
<td width="3%"></td>
<td width="92%">
- Se altro, precisare :
<input name="q6" id="q6" size="75">
</td>
</tr>

</table> 
Ciao
Scuba