Created
February 11, 2009 02:02
-
-
Save caged/61766 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function validate(){ | |
if(document.frm_registracion.txtApellido.value!="") | |
if(document.frm_registracion.txtNombre.value!="") | |
if(document.frm_registracion.txtDocumento.value!="") | |
if(document.frm_registracion.txtDomicilio.value!="") | |
if(document.frm_registracion.cmbPais.value!=0) | |
if(document.frm_registracion.cmbProvincia.value!=0) | |
if(document.frm_registracion.cmbLocalidad.value!=0) | |
if(document.frm_registracion.txtCodPostal.value!="") | |
if(document.frm_registracion.txtTelefono.value!="") | |
if(document.frm_registracion.txtEMail.value!="") | |
if(document.frm_registracion.txtPassword.value!="") | |
if(document.frm_registracion.txtPassword.value==document.frm_registracion.txtConfirmacion.value){ | |
document.frm_registracion.action="registrate.asp?Action=Graba"; | |
document.frm_registracion.submit(); | |
}; | |
else | |
alert("El password no coincide con la confirmacion"); | |
else | |
alert("Debe ingresar un password"); | |
else | |
alert("Debe ingresar un E-Mail"); | |
else | |
alert("Debe ingresar un Telefono"); | |
else | |
alert("Debe ingresar un Codigo Postal"); | |
else | |
alert("Debe ingresar un Localidad "); | |
else | |
alert("Debe ingresar un Provincia"); | |
else | |
alert("Debe ingresar un Pais"); | |
else | |
alert("Debe ingresar un Domicilio"); | |
else | |
alert("Debe ingresar un Documento"); | |
else | |
alert("Debe ingresar un Nombre"); | |
else | |
alert("Debe ingresar un Apellido"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment