diff --git a/index.html b/index.html index 4d2590f..c9d521a 100644 --- a/index.html +++ b/index.html @@ -10,160 +10,160 @@ +
+

Form Validation

+
-
-
-
- Native HTML Form Controls + +
+ Native HTML Form Controls -
- - -
Input element with type="text" attribute.
-
+
+ + +
Input element with type="text" attribute.
+
-
- - -
Input element with type="email" attribute.
-
+
+ + +
Input element with type="email" attribute.
+
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
-
- Check Group - - - - - - - - - - - - -
-
+
+
+ Check Group + + + + + + + + + + + + +
+
-
-
- Radio Group - - - - - - - - -
-
+
+
+ Radio Group + + + + + + + + +
+
-
- - -
-
+
+ + +
+
-
- Passwords -

The Password Confirm field below is automatically generated based on the presence of a Password field.

+
+ Passwords +

The Password Confirm field below is automatically generated based on the presence of a Password field.

-
- - +
+ + +
+
+ +
+ Custom Form Controls + +
+ +
-
+
This custom form control is a div element, not an input element.
+ -
- Custom Form Controls +
+ +
+ + +
This custom form control checks if a the div#exists contains an img tag.
+
+
-
- -
-
-
This custom form control is a div element, not an input element.
-
+
+ Other Options +

These options can be applied to the fields above.

-
- -
- - -
This custom form control checks if a the div#exists contains an img tag.
-
-
+
+ + +
Optional fields will allow blank input, but will validate non-blank value based on the input's type attribute and/or custom pattern if supplied.
+
-
- Other Options -

These options can be applied to the fields above.

+
+ (Numbers only.) + +
This field uses a user supplied regular expression to test against and can output a custom error message. The input will validate based on the input's type attribute first, then the pattern.
+
-
- - -
Optional fields will allow a blank input.
-
+
+ + + +
Required fields can be dynamically disabled/enabled.
+
+
-
- - -
Optional fields will still be validated when there is input present.
-
- -
- (Numbers only.) - -
This field uses a user supplied regular expression to test against and can output a custom error message. The value of the field will be run against all default validation checks, then run against the pattern.
-
- -
- - - -
Required fields can be dynamically disabled/enabled.
-
-
- -
-
- - -
-
-
- -
+
+
+ + +
+
+
+