I've a form control where user has to enter Id. I've validated submit button to enable only when field is filled with value(only numbers).
<input type="text" ng-model="Movie_Id" name="Movid" ng-pattern="onlyNumbers" required/>
<input type="submit" value="Add" ng-disabled="adduserform.$invalid" data-ng-click="Save()"/>
But I want to notify user dynamically when he tries to enter alphabets like "You should only enter Numbers" because user may not know the reason why Submit button is disabled when he enters alphabets.