Skip to content

Created a multistep form wizard using next.js , TypeScript, SCSS, ZOD , react-hook-form

Notifications You must be signed in to change notification settings

RuchiDhamecha/NextJS-MultiStepFormWizard

Repository files navigation

multi-step form wizard in NextJS

Using NextJS + TypeScript + SCSS

Created a multi-step form wizard in NextJS that guides the user through several steps, collecting information at each step and validating user input before proceeding to the next step. The form include dynamic page tracking at the top to indicate the current step/page number.

Pointers to maintain in code:

  1. Step Components
  2. Navigation
  3. Validation of fields with error fields
  4. Config driven if feasible

Buttons

  • Button "Back" takes you to previous page
  • Button "Next" takes you to next page

Step 1

image

After validating Name input

image

Step 2

image

After validating email input

image

Step 3

image

After validating password input,

  • Form gets submitted
  • displays notification "Form Submitted".
  • Button "Fill Again" takes to first page again

image

About

Created a multistep form wizard using next.js , TypeScript, SCSS, ZOD , react-hook-form

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published