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

Remove submit button alert bug also add validation for phone number and clear the input fields on form submission #70

Merged

Conversation

kushalkumar1362
Copy link
Contributor

  1. With This PR update the alert will be displayed indicating that the message was sent successfully, and the input fields for name, message, and email will be reset to empty strings.

  2. The form submission logic to clear the input fields after a successful submission. When the user submits the form with valid input.

These changes improve the user experience by providing a clear indication of a successful submission and resetting the form to its initial state, making it ready for the next submission.

Timewarp.-.Google.Chrome.2024-05-14.20-53-13.mp4

…nd clear the input fields on form submission
Copy link

vercel bot commented May 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
time-warp ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2024 3:35pm

@Akshatchaube01 Akshatchaube01 merged commit dcd355c into Akshatchaube01:main May 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants