Did you try here <http://www.ng-newsletter.com/posts/validations.html>?

If there is an error in form then variables like
myform.myInputField.$invalid gets set and based on that you can show alerts.

Regards,
Aadithya


On Wed, Jan 29, 2014 at 12:10 PM, Archana <[email protected]> wrote:

> This is my form. http://jsfiddle.net/ZvQ64/.
> Any one please help me
> Thanks
>
>
> On Wednesday, January 29, 2014 12:05:33 PM UTC+5:30, Archana wrote:
>>
>> Hi all.
>> i want to validate two input fields, if empty then i want to display
>> alert as "fields are empty" else the values entered in input fileds
>> should be added to row below in the table. <http://jsfiddle.net/szSc9/> but
>> whats happening here is it is built in validation but i want to display
>> alert.
>> here is the link http://jsfiddle.net/szSc9/
>>
>> Thanks
>>
>  --
> 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/groups/opt_out.
>



-- 
Regards,
Aadithya C Udupa

-- 
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/groups/opt_out.

Reply via email to