Choose the right statement about validation controls. Can have multiple validation controls on a single input control.A RangeValidator is used when input must conform to a pre-defined pattern.Only the RequiredFieldValidator checks empty controls.Page Validation enables you to verify that all of the controls on a page are valid before the controls perform some action.a.ii, ivb.ii, iii, ivc.i, iii, ivd.i, ii, iv
Question
Choose the right statement about validation controls. Can have multiple validation controls on a single input control.A RangeValidator is used when input must conform to a pre-defined pattern.Only the RequiredFieldValidator checks empty controls.Page Validation enables you to verify that all of the controls on a page are valid before the controls perform some action.a.ii, ivb.ii, iii, ivc.i, iii, ivd.i, ii, iv
Solution
The correct answer is c. i, iii, iv.
Explanation:
i. You can have multiple validation controls on a single input control. This is true because you might want to check for more than one condition on a single input. For example, you might want to check if a field is not empty and if it contains a valid email address.
ii. A RangeValidator is not used when input must conform to a pre-defined pattern. This statement is false. A RegularExpressionValidator is used for this purpose. A RangeValidator is used to ensure that a user’s input is within a specified range of values.
iii. Only the RequiredFieldValidator checks empty controls. This is true. The RequiredFieldValidator control ensures that the required input controls are not left blank.
iv. Page Validation enables you to verify that all of the controls on a page are valid before the controls perform some action. This is also true. Page validation is a feature that checks all the validation controls on a page to ensure that they are valid before any action is performed.
Similar Questions
Determine the best validation control for each input: Username (compulsory):Answer 1Display a summary of all of the validation errors on the page:Answer 2Re-type password:Answer 3United States postal code:Answer 4Number of tickets (maximum 20):Answer 5Odd number only:
Which of the following attribute must be set on a validator control for the validation? a.ValidateBindb.ValidateControlc.ValidateToBindd.ControlToValidate
Using a suitable example, explain in detail four levels of validation.
Identify three methods of validation.
Define the term: Validation
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.