Salve,avrei la necessità di passare un valore da un campo all'altro. Ovvero, se digito un numero del campo "quantita" vorrei che venisse scritto anche nel campo hidden "q".
Coem posso fare? So che dovrei mettere un OnChange nel campo quantita ma non ho idea di come si utilizzi.
Grazie

<form action="test.asp" method="post">
<input name="quantita" id="quantita" type="number" size="4" min="0" value=""/>
<input type="hidden" name="q" id="q" value=""/>
</form>