Chapter 6 Flashcards
T/F While JavaScript lets you perform validation in a user’s browser, the server-side programs that receive form data generally perform validation as well
True
T/F By default, browsers create an collection of form objects that you can reference using array notation
True
T/F Assistive functions perform a type of validation
False
T/F You can use HTML to set the default value of a selection list so no option is selected
False
T/F Modern browsers can perform many validation tasks themselves without any extra JavaScript
True
To check if an option button is selected, you access the value of its BLANK property
checked
To display no default value on a selection list, you set its BLANK property to -1
selectedIndex
Many aspects of the way browsers present browser-based validation feedback are customizable through the properties and methods of the BLANK
constraint validation API
The BLANK event fires when a form is submitted
submit
You use the BLANK method on an object to block the action normally associated with an event
preventDefault()
The BLANK form element is useful for limiting user options to a set of choices
selection list
You create an empty document fragment using the BLANK method
createDocumentFragment()
The BLANK attribute enhances usability in modern browsers
placeholder
What element property would you use when copying the contents of one text field to another text field
value
Which attribute toggles off validation of a form when added to the opening tag?
novalidate