...volevo precisare che ho cambiato il nome della funzione che non è più resetForm bensì clearForm