You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -336,7 +336,7 @@ see [release](https://github.com/huei90/angular-validation/releases)
336
336
337
337
Q & A
338
338
=====
339
-
Can I validate the form when init ? [#10](https://github.com/huei90/angular-validation/issues/10)
339
+
###Can I validate the form when init ? [#10](https://github.com/huei90/angular-validation/issues/10)###
340
340
341
341
```html
342
342
<formname="Form">
@@ -346,11 +346,11 @@ Can I validate the form when init ? [#10](https://github.com/huei90/angular-vali
346
346
```
347
347
```javascript
348
348
$timeout(function () { // call $timeout to make sure the Form Constructor is generated
349
-
$validationProvider.validate($scope.Form); // $scope.Form is html form name `Form Constructor`
349
+
$validationProvider.validate($scope.Form); // $scope.Form is html form name `Form Constructor`
350
350
});
351
351
```
352
352
353
-
What's the differentiate between validator-method `submit` and `submit-only`[#4](https://github.com/huei90/angular-validation/issues/4)
353
+
###What's the differentiate between validator-method `submit` and `submit-only`[#4](https://github.com/huei90/angular-validation/issues/4)###
354
354
355
-
`submit` : when user click submit, then start watching using `watch` to validate
356
-
`submit-only` : when user click `submit`, doesn't validate through `watch` until `submit` button is clicked.
355
+
`submit` : when user click submit, then start watching using `watch` to validate<br/>
356
+
`submit-only` : when user click `submit`, doesn't validate through `watch` until `submit` button is clicked.
0 commit comments