Ciao Andrea,
Grazie x le dritte:
- ho tolto l' array che non serviva,
- ho creato uuna nuova variabile
- ho modificato la lunghezza (da 2 a 3 )
for (var w=1; w<29 ; w++) { if (document.getElementById('sent_'+w).value.length != 0 && document.getElementById('attach_'+w).options[document.getElementById('attach_'+w).selectedIndex].value.length<3 ) { alert ('Please, choose no-empty Attach option !!'); return false; } }
Ho provato, funziona tutto Grazie !!!![]()