Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutee Form Data Collection and Error Handling #50

Open
2 of 4 tasks
brandondionisio opened this issue Nov 14, 2024 · 0 comments
Open
2 of 4 tasks

Tutee Form Data Collection and Error Handling #50

brandondionisio opened this issue Nov 14, 2024 · 0 comments
Assignees

Comments

@brandondionisio
Copy link
Collaborator

brandondionisio commented Nov 14, 2024

Collecting Data from the Tutee Form!!

Summary 💻

Run npm run dev and navigate to http://localhost:5173/tutee-form. Wow! This looks amazing, thanks @hkniimi, @sheza-chaudhry, @sethmorton, and @rainiercs50! However, the "submit" button doesn't work and we do not check if the fields are properly filled out. For this ticket, you will be making error handling and data collection for this form.

Deliverables 🚀

  • Schedule at least two meetings as a pair
  • Create a new branch using the "create a branch" button
  • Edit the TuteeForm.tsx
  • Open a PR and request review from @brandondionisio.

Tip for success 📈

  • If any field is not filled out when the "submit" button is clicked, the fields not filled should display an error below that reads, "Field needs to be filled out" in red text.
  • If all fields are filled out when the "submit" button is clicked, the data should be collected in variables and the fields should be cleared
  • Hint: Data collection will probably use the useState react hook ;)
  • You don't need to store whether they checked yes for the agreement (though they NEED to check yes for the submit button to be successful)

Where to get help!

Reach out to @dilanurbayraktar and @brandondionisio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants