aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/components/forms.md
diff options
context:
space:
mode:
authorVytas <[email protected]>2018-01-11 10:36:16 +0200
committerXhmikosR <[email protected]>2018-01-11 10:36:16 +0200
commitbea31472ea06ea180cd4a829d5814e0eb4364f38 (patch)
tree5ff191264e586b715c14823d278a0d964956f577 /docs/4.0/components/forms.md
parentd015ab90998d565611169d8ac3ad238c81651987 (diff)
downloadbootstrap-bea31472ea06ea180cd4a829d5814e0eb4364f38.tar.xz
bootstrap-bea31472ea06ea180cd4a829d5814e0eb4364f38.zip
Fix invalid "constraint validation API" URL in docs (#25244)
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 3830f5a9f..4735bd9a5 100644
--- a/docs/4.0/components/forms.md
+++ b/docs/4.0/components/forms.md
@@ -711,7 +711,7 @@ Here's how form validation works with Bootstrap:
- Bootstrap scopes the `:invalid` and `:valid` styles to parent `.was-validated` class, usually applied to the `<form>`. Otherwise, any required field without a value shows up as invalid on page load. This way, you may choose when to activate them (typically after form submission is attempted).
- 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.
+- All modern browsers support the [constraint validation API](https://www.w3.org/TR/html5/sec-forms.html#the-constraint-validation-api), a series of JavaScript methods for validating form controls.
- 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.