HI guys,

Can someone help me on this ?

On Thursday, June 19, 2014 9:18:22 PM UTC+10, balamurugan r wrote:
>
> Hi guys,
>
> In my requirement, i need to validate the text entered by the user in the 
> input element for below scenarios.
>
> Input Type should be Text , and validation should be performed for number. 
> We dont want that to be number type because it renders in different style 
> in different browsers. And we want too support IE8 & IE7 as well..
>
> value                                     error message       
> implementation                                                             
>                  
> ""                                         This is required       required 
> attribute 
> NonAlphanumeric                  Invalid                    ng-pattern 
> (Regex Pattern for numbers)
> 0                                          Should not be 0      ?????? 
>
> is it possible to specify more patterns for single input ??
> Actually i need two different error message for same input ??
>
> How this can be achieved with multiple patterns ??
>
> Thanks in advance
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to