Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/07/2013, 22:57
Avatar de Franz1628
Franz1628
 
Fecha de Ingreso: marzo-2007
Ubicación: Lima - Perú
Mensajes: 145
Antigüedad: 17 años, 1 mes
Puntos: 26
Respuesta: Problemas con formulario de contacto

mejor utiliza 2 funciones

uno para form1 y otro para form2

Código Javascript:
Ver original
  1. function verifica1() {
  2. if (document.Form1.nombre.value != "") {
  3. document.Form1.submit();
  4. } else {
  5. alert("FALTAN DATOS!!!!!");
  6. }
  7. // TOAD
  8. }
  9.  
  10. function verifica2() {
  11. if (document.Form2.nombre.value != "") {
  12. document.Form2.submit();
  13. } else {
  14. alert("FALTAN DATOS!!!!!");
  15. }
  16. // TOAD
  17. }

tambien puedes hacerlo con una sola funcion ya te lo dejo como tarea =)
__________________
En mi Blog puedes ver articulos javascript y más...
@Franz1628