Skip to content Skip to sidebar Skip to footer

Unable To Locate The Event Handler

I've this html source of this url: https://login.freecharge.in/login?callbackurl=https://checkout.freecharge.in/payment. This page has two input fields - login & password. I w

Solution 1:

This is done via the Angular framework, with the following patter:

ng-pattern="^(([A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,4})|([6-9][0-9]{9}))$"

It means if the input does not look like an email, the field is not valid. Then, you didn't post this code, but most likely on the button there's something like ng-enabled="..." with a condition that checks if the email field is valid.

Post a Comment for "Unable To Locate The Event Handler"