Ver Mensaje Individual
  #4 (permalink)  
Antiguo 17/05/2011, 09:10
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 3 meses
Puntos: 845
Respuesta: Validar minusculas con expresion regular

Y, tal cual lo tenes planteado, agrégalo al if,

Código Javascript:
Ver original
  1. ...
  2. if(login.value.length < 3 || pass.value.length < 3
  3.      || login.value != login.value.toLowerCase()) {
  4.     return false;
  5. }
  6. ...
__________________
http://es.phptherightway.com/
thats us riders :)