@@ -16,32 +16,10 @@ Bootstrap's [form validation classes](http://getbootstrap.com/css/#forms-control
1616
1717## Compatibility
1818
19- Minimum AngularJS version required: ** 1.3.0** . If you are using an older version of AngularJS, please use the version
19+ 1 . Minimum AngularJS version required: ** 1.3.0** . If you are using an older version of AngularJS, please use the version
2020` 0.0.1 ` of this library but that have some known bugs which are fixed in newer versions.
2121
22- ## Features
23-
24- ** A few things to look out for when playing around**
25-
26- 1 . Before a field is marked as invalid, the validation is lazy: Before submitting the form for the first time, the user
27- can tab through fields without getting annoying messages – they won't get bugged before having the chance to actually
28- enter a correct value
29-
30- 2 . Once a field is marked invalid, it is eagerly validated: As soon as the user has entered the necessary value, the
31- error message is removed.
32-
33- 3 . If the user enters something in a non-marked field, and tabs/clicks away from it (blur the field), it is
34- validated – obviously the user had the intention to enter something, but failed to enter the correct value.
35-
36- 4 . After trying to submit an invalid form, the first invalid element is focused, allowing the user to correct the field.
37-
38- ## Compatibility
39-
40- IE 8 & below are not supported.
41-
42- ## Demo
43-
44- ** Coming soon**
22+ 2 . IE 8 & below are not supported.
4523
4624## Usage
4725
@@ -54,7 +32,7 @@ bower install bootstrap-angular-validation --save
5432### 2. Add the script to your main HTML file (like index.html)
5533
5634``` html
57- <script src =" bower_components/bootstrap-angular-validation/dist/bootstrap-angular-validation.min.js" ></script >
35+ <script src =" bower_components/bootstrap-angular-validation/dist/bootstrap-angular-validation-all .min.js" ></script >
5836```
5937
6038Make sure CSS for Bootstrap is also included in your application. Read the [ docs] ( http://getbootstrap.com/getting-started/#download )
@@ -68,23 +46,8 @@ var myApp = angular.module("foo", ["bootstrap.angular.validation", "other-foo-de
6846### Now Rock!!
6947
7048Basic Bootstrap validation has enabled in your forms. No further setup and no alternation required. Try submitting a
71- form with some validation and see the magic. ** Make sure your form elements are designed as
72- Bootstrap [ suggests] ( http://getbootstrap.com/css/#forms ) .**
73-
74- ## Default error messages
75-
76- | Validation | Message |
77- | ------------- | -------------| -----|
78- | required | This field is required. |
79- | email | Please enter a valid email address. |
80- | url | Please enter a valid URL. |
81- | number | Please enter a valid number. |
82- | digits | Please enter only digits. |
83- | min | Please enter a value greater than or equal to {{validValue}}. |
84- | max | Please enter a value less than or equal to {{validValue}}. |
85- | length | Please enter all {{validValue}} characters. |
86- | minlength | Please enter at least {{validValue}} characters. |
87- | maxlength | Please enter no more than {{validValue}} characters. |
88- | editable | Please select a value from dropdown. |
89- | pattern | Please fix the pattern. |
90- | equalTo | Please enter the same value again."
49+ form with some validation and see the magic.
50+
51+ ## Detailed Documentation, Configurations & Examples:
52+
53+ http://sagrawal14.github.io/bootstrap-angular-validation/
0 commit comments