Makes the form multi-page. This implementation wasn't that bad to be honest.
The form is still a lo-fi but is entirely functional (I sure hope so). I will create a separate ticket for making the form look like the Figma design.
Things to be reviewed
Please review #46 before reviewing this so that we can merge that before merging this.
Visit the latest Vercel preview and check out the form at /review.
Note: The errors don't dynamically update if you try to go to the next page when the current section is incomplete since we're using trigger to explicitly validate the fields present within the given section and I don't believe it updates the error status automatically. We can look into this further later (maybe using clearError or something).
Checklist
[x] Add task name to the PR title
[x] Add ticket number to ("Closes #")
[x] Move task to "In Review" on the Cooper Project Board
Closes #43
Description
Things to be reviewed
/review
.Note: The errors don't dynamically update if you try to go to the next page when the current section is incomplete since we're using
trigger
to explicitly validate the fields present within the given section and I don't believe it updates the error status automatically. We can look into this further later (maybe usingclearError
or something).Checklist