Put in order · Next.js course · Module 6: Forms and Server Actions

Accessing Form Errors in React Hook Form

Arrange the pattern for accessing the email field error message in formState

Items to put in order

  • .message
  • .email?
  • .errors
  • formState

You can check the correct answer by solving this task in the CodeWorlds game.