Exam 6: Enhancing and Validating Forms
Exam 1: Introduction to Javascript42 Questions
Exam 2: Working With Functions Data Types and Operators41 Questions
Exam 3: Building Arrays and Controlling Flow42 Questions
Exam 4: Debugging and Error Handling41 Questions
Exam 5: Working With the Document Object Model Dom and Dhtml41 Questions
Exam 6: Enhancing and Validating Forms41 Questions
Exam 7: Using Object Oriented Javascript41 Questions
Exam 8: Manipulating Data in Strings and Arrays41 Questions
Exam 9: Managing State Information and Security41 Questions
Exam 10: Programming for Mobile Devices and Touchscreens41 Questions
Exam 11: Updating Web Pages With Ajax41 Questions
Exam 12: Introduction to Jquery41 Questions
Select questions type
Describe how you can use JavaScript to simulate the behavior of the placeholder attribute in older browsers?.
(Essay)
5.0/5
(32)
For any fields that require numeric values, you can use JavaScript's built-in ____ function to determine whether a user actually entered a number.
(Multiple Choice)
4.8/5
(40)
Which type value for the input element triggers validation in modern browsers?
(Multiple Choice)
4.8/5
(28)
__________ is the process of checking that information provided by users conforms to rules to ensure that it appropriately answers a form's questions and is provided in a format that the site's back-end programs can work with.
(Short Answer)
4.7/5
(36)
Which attribute toggles off validation of a form when added to the opening <form> tag?
(Multiple Choice)
4.8/5
(32)
To send the values entered in a form to a web server with JavaScript, you use the __________ method.
(Short Answer)
4.7/5
(38)
In general, modern browsers display validation feedback after the ____ event is triggered by a form.
(Multiple Choice)
5.0/5
(44)
You use the ____ method on an object to block the action normally associated with an event.
(Multiple Choice)
4.8/5
(37)
If you were designing a form with a question that asked users if they had ever visited a certain city, would you expect more accurate input using a text input box or a check box? Why?
(Essay)
4.8/5
(36)
To check if an option button is selected, you access the value of its ____ property.
(Multiple Choice)
4.9/5
(41)
Creating a function to validate required fields generally involves retrieving the values of the required fields and checking if the value of any of them is __________.
(Short Answer)
4.8/5
(39)
Use of the ____ attribute of the form element is not allowed in the strict DTD for XHTML.
(Multiple Choice)
4.9/5
(34)
The requirements of the form you're validating determine the kind of logic you need to incorporate into a custom validation program. However, a few types of validation functions are particularly common. Name two.
(Essay)
4.9/5
(38)
What does a function to validate required fields generally need to do?
(Essay)
4.9/5
(43)
Describe the three behaviors that make up the placeholder effect in modern browsers, and that you need toreplicate with JavaScript for older browsers.
(Essay)
4.8/5
(27)
Why is is usually not necessary to include testing for the number of characters in user input in custom validation functions?
(Essay)
4.9/5
(43)
What element property would you use when copying the contents of one text field to another text field?
(Multiple Choice)
4.8/5
(38)
What is an assistive function? Give an example of a situation in which you might use an assistive function.
(Essay)
4.7/5
(40)
Many aspects of the way browsers present browser-based validation feedback are customizable through the properties and methods of the ____.
(Multiple Choice)
4.9/5
(42)
You can use the CSS ____ pseudo-classes to change the properties of form elements based on their validity status.
(Multiple Choice)
4.9/5
(42)
Showing 21 - 40 of 41
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)