You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this to validate an email field remotely.
Looking at the console, the HTTP.GET works exactly as it should and returns {"isValid":bool,"value":"[email protected]"} but my message doesn't show up if isValid is false.
<span ng-show="userRegistrationForm.email_addr.$error.ngRemoteValidate">
This email address already exists.
</span>
And basically, this is what the email field looks like:
I'm using this to validate an email field remotely.
Looking at the console, the HTTP.GET works exactly as it should and returns {"isValid":bool,"value":"[email protected]"} but my message doesn't show up if isValid is false.
And basically, this is what the email field looks like:
Maybe I don't know how to use
formName.fieldName.$error.ngRemoteValidate
so maybe someone can tell me?Also, I'm not sure about this but I decided to try and output value of
formName.fieldName.$error.ngRemoteValidate doesn't work
like this:...and using FireBug (in Firefox), it doesn't show any value.
The text was updated successfully, but these errors were encountered: