Merge pull request #12123 from GramParallelo/fix/instructionsGrammarIssue
Use HTML5 to Require a Field grammar fix
This commit is contained in:
@ -2565,7 +2565,7 @@
|
|||||||
"title": "Use HTML5 to Require a Field",
|
"title": "Use HTML5 to Require a Field",
|
||||||
"description": [
|
"description": [
|
||||||
"You can require specific form fields so that your user will not be able to submit your form until he or she has filled them out.",
|
"You can require specific form fields so that your user will not be able to submit your form until he or she has filled them out.",
|
||||||
"For example, if you wanted to make a text input field required, you can just add the word <code>required</code> within your <code>input</code> element, you would use: <code><input type=\"text\" required></code>",
|
"For example, if you wanted to make a text input field required, you can just add the word <code>required</code> within your <code>input</code> element, like this: <code><input type=\"text\" required></code>",
|
||||||
"Make your text <code>input</code> a <code>required</code> field, so that your user can't submit the form without completing this field.",
|
"Make your text <code>input</code> a <code>required</code> field, so that your user can't submit the form without completing this field.",
|
||||||
"Then try to submit the form without inputing any text. See how your HTML5 form notifies you that the field is required?",
|
"Then try to submit the form without inputing any text. See how your HTML5 form notifies you that the field is required?",
|
||||||
"Note: This field does not work in Safari."
|
"Note: This field does not work in Safari."
|
||||||
|
Reference in New Issue
Block a user