Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Commit 10b6b28

Browse files
committed
typo
1 parent fd7fe57 commit 10b6b28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,11 @@ $scope.submitForm = function() {
205205
if(myValidation.checkFormValidity($scope.form1)) {
206206
// proceed with submit
207207
}
208+
209+
// or without a form name, use the $scope alone
210+
if(myValidation.checkFormValidity($scope)) {
211+
// proceed with submit
212+
}
208213
}
209214

210215
// Option #3 - You could also use the $validationSummary to be displayed after a Submit

0 commit comments

Comments
 (0)