Ver Mensaje Individual
  #10 (permalink)  
Antiguo 03/04/2009, 16:07
Avatar de hoberwilly
hoberwilly
 
Fecha de Ingreso: julio-2008
Ubicación: Lima - Perú
Mensajes: 769
Antigüedad: 16 años, 8 meses
Puntos: 2
Respuesta: Validacion de caja de texto...envio no vacios

Algo anda mal David,
Esto realize:
1. se añadio esta funcion en js:
Código php:
Ver original
  1. <!-- function enviar(){
  2.     if(validar()){
  3.         return comprueba();
  4.     }
  5.     return false;
  6. }
  7.  -->
2. se modifico el onsubmit segun lo sugerido:
Código php:
Ver original
  1. <!-- <form name="form" id="form" action="index.php?p=8" method="post" onsubmit="return enviar()"> -->

3. No valida ninguna de las funciones y directamente se va a la otra pagina php???

Saludos,