Ver originaldocument.formCrear.nombre.value.length==0
Ver original<form method="post" action="modificarDatos.php" >