aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-06-06 11:26:08 -0700
committerMark Otto <[email protected]>2017-06-06 11:26:08 -0700
commitbcfef5b28c27b73ff6cfb6bf7fd98b5c883c8895 (patch)
tree29454efa5d2351f1ba054d1f695a1ee7ea26918b
parentc51b7cae95124d0c17c8dd2abe7acccdb6504d9b (diff)
downloadbootstrap-bcfef5b28c27b73ff6cfb6bf7fd98b5c883c8895.tar.xz
bootstrap-bcfef5b28c27b73ff6cfb6bf7fd98b5c883c8895.zip
add instructions, clarify
-rw-r--r--docs/4.0/components/forms.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md
index 326e911b3..8f94cfe7a 100644
--- a/docs/4.0/components/forms.md
+++ b/docs/4.0/components/forms.md
@@ -830,7 +830,7 @@ With that in mind, consider the following two demos for our custom form validati
### Custom styles
-For custom Bootstrap form validation messages, you'll need to add the `novalidate` boolean attribute to your `<form>`. This disables the browser default feedback tooltips, but still provides access to the form validation APIs in JavaScript.
+For custom Bootstrap form validation messages, you'll need to add the `novalidate` boolean attribute to your `<form>`. This disables the browser default feedback tooltips, but still provides access to the form validation APIs in JavaScript. Try to submit the form below; our JavaScript will intercept the submit button and relay feedback to you.
{% example html %}
<form class="container" id="needs-validation" novalidate>
@@ -871,7 +871,7 @@ For custom Bootstrap form validation messages, you'll need to add the `novalidat
</form>
<script>
-// Example JavaScript for disabling form submission if there are invalid fields
+// Example starter JavaScript for disabling form submissions if there are invalid fields
(function() {
"use strict";
window.addEventListener("load", function() {