<script language="jscript"> function controla (){ with(document.form1){ if (nome.value==''){ alert ("PREENCHA O CAMPO COM O NOME DO CLIENTE!!!"); nome.focus; return false; } if (tel1.value==''){ alert ("PREENCHA O CAMPO COM NUMERO DE TELEFONE DO CLIENTE!!!"); tel1.focus; return false; } } } </script>
Qualquer coisa pode me passar por e-mail
thiagofronza@alice.it
Obrigado a todos!