aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/components/forms.md
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-09-03 12:56:04 +0200
committerGitHub <[email protected]>2017-09-03 12:56:04 +0200
commite04e42d08c059732153ff6925fa712464cf12207 (patch)
treea4c5d188bf8416fe7b801fbac79a2ad21af7012e /docs/4.0/components/forms.md
parent45baa15932dd9c546c4618acca0b02d6f661e657 (diff)
parent2e5f1e22860a892f5abdbb65abc14172e0129c1a (diff)
downloadbootstrap-e04e42d08c059732153ff6925fa712464cf12207.tar.xz
bootstrap-e04e42d08c059732153ff6925fa712464cf12207.zip
Merge branch 'v4-dev' into fix-jumping-modal-on-resize
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.