Skip to content

Commit bea3147

Browse files
nesinervinkXhmikosR
authored andcommitted
Fix invalid "constraint validation API" URL in docs (twbs#25244)
1 parent d015ab9 commit bea3147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/4.0/components/forms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ Here's how form validation works with Bootstrap:
711711
- 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).
712712
- 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.
713713
- 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.
714-
- 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.
714+
- 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.
715715
- 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.
716716
- You may provide custom validity messages with `setCustomValidity` in JavaScript.
717717

0 commit comments

Comments
 (0)