Nested validation in angular js

这一生的挚爱 提交于 2019-12-06 15:12:03

问题


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.

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


回答1:


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.



来源:https://stackoverflow.com/questions/24014054/nested-validation-in-angular-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!