在角JS验证嵌套 [英] Nested validation in angular js
问题描述
我是一个新的角度JS。我已经失去了preparing验证多次。大量的实例对总的形式验证。现在我必须明智做的有效范围。我已经用图形如下图所示我的问题。
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?
推荐答案
的http:// scotch.io/tutorials/javascript/angularjs-form-validation 此链接有与演示详细地angularjs验证。尝试复制此。希望这有助于。
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.
这篇关于在角JS验证嵌套的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!