<html> <head> <script type="text/javascript"> ValidarFormulario = function(f){ var msgErro=""; var result=true; if(!f["nome"].value) msgErro+="Nome; "; if(!f["email"].value) msgErro+="Email; "; if(!f["assunto"].value) msgErro+="Assunto; "; if(!f["mensagem"].value) msgErro+="Mensagem; "; if (msgErro){ alert("Faltam preencher os seguintes campos: nn"+msgErro); result=false; } return result; } </script> </head> <body> <form method="post" onsubmit="return ValidarFormulario(this);"> Nome <input type="text" name="nome" id="nome"><br> Email <input type="text" name="email" id="email"><br> Assunto <input type="text" name="assunto" id="assunto"><br> Mensagem <textarea name="mensagem" id="mensagem"></textarea><br> <input type="submit" value="Enviar Dados" name="accao"> </form> </body> </html>
Distribuição Ubuntu Linux – VERSÃO 12.10 (32 bits PC Intel)
Versão 12.10 do sistema operacional Linux. Baixe! Versão 12.10 – 32 bits: http://releases.ubuntu.com/quantal/ubuntu-12.10-desktop-i386.iso Versão