aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/components/forms.md
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-09-02 19:31:12 +0200
committerGitHub <[email protected]>2017-09-02 19:31:12 +0200
commitbfa4df21f31e9b6007fadeaf6b90c22e888c7849 (patch)
tree0e9d33ba69840c7bcdb8eb83f1381e3310252a4c /docs/4.0/components/forms.md
parent0b06ad69d2c3428b052ca228c0b12b45ab36ec55 (diff)
parent8f7a8cf5a7e5993221a39c3fa83d6dbfb50dd29e (diff)
downloadbootstrap-bfa4df21f31e9b6007fadeaf6b90c22e888c7849.tar.xz
bootstrap-bfa4df21f31e9b6007fadeaf6b90c22e888c7849.zip
Merge branch 'v4-dev' into patch-5
Diffstat (limited to 'docs/4.0/components/forms.md')
-rw-r--r--docs/4.0/components/forms.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md
index eb3deb415..80c5db547 100644
--- a/docs/4.0/components/forms.md
+++ b/docs/4.0/components/forms.md
@@ -684,7 +684,7 @@ Here's how form validation works with Bootstrap:
- As a fallback, `.is-invalid` and `.is-valid` classes may be used instead of the pseudo-classes for [server side validation](#server-side). They do not require a `.was-validated` parent class.
- Due to constraints in how CSS works, we cannot (at present) apply styles to a `<label>` that comes before a form control in the DOM without the help of custom JavaScript.
- All modern browsers support the [constraint validation API](https://www.w3.org/TR/html5/forms.html#the-constraint-validation-api), a series of JavaScript methods for validating form controls.
-- Feedback messages may utilize the [browser defaults](#browser-default) (different for each browser, and unstylable via CSS) or our custom feedback styles with additional HTML and CSS.
+- Feedback messages may utilize the [browser defaults](#browser-defaults) (different for each browser, and unstylable via CSS) or our custom feedback styles with additional HTML and CSS.
- You may provide custom validity messages with `setCustomValidity` in JavaScript.
With that in mind, consider the following demos for our custom form validation styles, optional server side classes, and browser defaults.