Skip to content

Instantly share code, notes, and snippets.

Alejo Sotelo alejoasotelo

View GitHub Profile
View ejemplo_verificacion_passwords_ag.html
<p>Este es una ejemplo de validación de 2 passwords. El típico ejemplo de repetir password.</p>
<form name="myForm">
<input type="password" name="pass" ng-model="user.pass" ng-change="user.pass_equals = (user.pass == user.pass_copy)" required/>
<br>
<span ng-if="!myForm.pass.$pristine && myForm.pass.$invalid">campo invalido.</span>
<br>
<br>
<input type="password" name="pass_copy" ng-model="user.pass_copy" ng-change="user.pass_equals = (user.pass == user.pass_copy)" required/><br>
You can’t perform that action at this time.