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

Improve Form Validation and User Experience in App.js #260

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GitElla404
Copy link

This PR updates the App.js file to enhance the form submission process and user feedback. Key changes include:

  • Email Validation: Added a function to check if the email format is valid before submission.
  • Improved Error Handling: Displays specific messages for different submission errors, like client and server issues.
  • Dynamic Toast Messages: Shows toast notifications for submission success or errors, making it clearer for users.
  • State Management: Streamlined the state handling for the form inputs to ensure better user interaction.

Copy link

netlify bot commented Oct 29, 2024

Deploy Preview for annoyingsubmitbutton ready!

Name Link
🔨 Latest commit a199e9f
🔍 Latest deploy log https://app.netlify.com/sites/annoyingsubmitbutton/deploys/67206066e7f2e60008da762b
😎 Deploy Preview https://deploy-preview-260--annoyingsubmitbutton.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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

Successfully merging this pull request may close these issues.

1 participant