0

i am a new in angular js. i have lost many times for preparing validation. many example has for total form validation. now i have to do the valid scope wise. I have shown my problem graphically below.

enter image description here

Here save yellow and red there are two portion, when i will click yellow save button then validation will be fire for red mark scope and when i will click red save button then validation will be fire for total page content. how can i solve this problem? can any one help me?

Plunker

3
  • @Vaibhav, see the link plnkr.co/edit/2tJxSh?p=preview Commented Jun 10, 2014 at 15:16
  • what kind of validation are we taking about? Commented Jun 10, 2014 at 15:21
  • @Vaibhav, do u have any nested form validation example in angularjs?, Commented Jun 10, 2014 at 15:23

1 Answer 1

0

http://scotch.io/tutorials/javascript/angularjs-form-validation This link has validation for angularjs in a detailed manner with demo. Try replicating this. Hope this helps.

Sign up to request clarification or add additional context in comments.

2 Comments

jsfiddle.net/langdonx/6H8Xx/2 Try this aswell. Fiddle implemented with nested validation.
this is not helpful for me, you forgot my actual problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.