Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/08/2005, 01:48
mario2005
 
Fecha de Ingreso: julio-2005
Mensajes: 90
Antigüedad: 19 años, 1 mes
Puntos: 1
Prueba a quitar el onClick del botón y ponerle un onSubmit que llame a esa funcion en la cabecera del formulario. Creo que ese es el problema, se hace un lio al poner un onClick a un tipo submit. el formulario quedaría tal que así:
Nombre: <input type=text name="nombre" size=16>
<br>

<form action="<?php echo $PHP_SELF; ?>" name="c" method=post onSubmit="validar();">

Asunto :<input type=text name="asunto" maxlength="20" size=16>
<br>
Email : <input type=text name=email size=16>
<br>
Comentarios: <textarea name=coment cols=32 rows=6 maxlength="500"></textarea>
<br>
<input type=submit value="Enviar">