Cita:  
					Iniciado por Franz1628  
  mejor utiliza 2 funciones 
 
uno para form1 y otro para form2    
Código Javascript
:
Ver original- function verifica1() { 
- if (document.Form1.nombre.value != "") { 
- document.Form1.submit(); 
- } else { 
- alert("FALTAN DATOS!!!!!"); 
- } 
- // TOAD 
- } 
-   
- function verifica2() { 
- if (document.Form2.nombre.value != "") { 
- document.Form2.submit(); 
- } else { 
- alert("FALTAN DATOS!!!!!"); 
- } 
- // TOAD 
- } 
tambien  puedes hacerlo con una sola funcion ya te lo dejo como tarea =)
   Ya utilice las dos funciones como dices y el boton enviar no hace nada, creo que mi problema esta en el código del los fom. Mira te paso los codigos.  
Mira este es el codigo de from1 que se llama contacto    
Código HTML:
Ver original- <form id="contacto" name="contacto" method="post" action="enviar2.php">  
- <p><font size="4" color="Black">- Formulario de contacto </font></p>
 
-   
- <input name="nombre" id="nombre" size=41 /> </label></p>  
- <input name="empresa" type="text" id="empresa" size=40/></label></p> 
- <p><input type="button" onclick="verifica();" name="Submit" value="Enviar" /></p> 
-   
Código HTML:
Ver original-   
- <form id="form1" method="post" action="Formulario.php" > 
-   
- <font color="Black">- Nombre </font><img src="images/red-38076_640.png" width="8" height="8" title="Campo obligatorio" /></td>
 
- <input type="text" name="nombre" id="textfield2" /></td> 
- <td><font color="Black">- Apellidos </font></td>
 
- <input type="text" name="apellidos" id="textfield3" /></td> 
- <td><font color="Black">- Correo </font><img src="images/red-38076_640.png" alt="" width="8" height="8" title="Campo obligatorio" /></td>
 
- <input type="text" name="correo" id="textfield4" /></td> 
- <td><font color="Black">- Telefono </font></td>
 
- <input type="text" name="telefono" id="textfield5" /></td> 
- <td><font color="Black">- Empresa </font></td>
 
- <input type="text" name="empresa" id="textfield6" /></td> 
- <td><font color="Black">- Servicio </font></td>
 
- <input type="text" name="servicio" id="textfield7" /></td> 
- <td><input type="button" onclick="verifica();" name="button" id="button" value="Enviar"/> 
-   
-   
Muchas gracias por tu tiempo y apoyo :)