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

Zod Validation Chain for Email

Arrange the Zod validation chain for an email field with a minimum of 5 characters

Items to put in order

  • .min(
  • .email()
  • 5)
  • z.string()

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