Bird
0
0

Which property of the ngForm directive indicates if the form has been submitted?

easy🧠 Conceptual Q2 of 15
Angular - Template-Driven Forms
Which property of the ngForm directive indicates if the form has been submitted?
Apristine
Bsubmitted
Cdirty
Dtouched
Step-by-Step Solution
Solution:
  1. Step 1: Recall ngForm state properties

    ngForm exposes properties like submitted, touched, dirty, and pristine to describe form state.
  2. Step 2: Identify submission state property

    The 'submitted' property becomes true when the form is submitted by the user.
  3. Final Answer:

    submitted -> Option B
  4. Quick Check:

    Form submission state = submitted = D [OK]
Quick Trick: Use 'submitted' to check if form was sent [OK]
Common Mistakes:
MISTAKES
  • Confusing 'touched' with submission
  • Using 'dirty' or 'pristine' for submission state
  • Assuming 'pristine' means submitted

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Angular Quizzes