prova così:
da avviare così:codice:function riempi(f) { var oggi=new Date(); f.nometextarea2.value=oggi.getDate()+"/"+oggi.getMonth()+"/"+oggi.getFullYear(); f.nometextarea3.value=oggi.getHours()+":"+oggi.getMinutes(); }
ciaocodice:<form ... onsubmit="riempi(this);">