A corrected field still reports a custom error. What must the code do?
Answer options
- A. Remove the required attribute
- B. Disable the submit button
- C. Replace the form element
- D. Call setCustomValidity with an empty string
Knowledge Check
A corrected field still reports a custom error. What must the code do?
Clear custom validity is a knowledge check interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as hard difficulty. It focuses on Frontend Foundations, HTML Forms Validation. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.