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

Feature/client side validation #49

Merged

Conversation

Valley-15
Copy link
Contributor

Implement Client-Side Validation for User Registration Form (#3)

Description
This pull request introduces client-side validation for the user registration form to enhance user experience and data integrity. The following changes have been made:

Client-Side Validation:

Implemented checks to ensure that all required fields (Full Name, Phone Number, Email ID, and Comments) are filled out before the form can be submitted.
If any required field is empty, an alert is displayed to prompt the user to fill out all required fields, preventing form submission.
Form Data Handling:

Upon successful validation, the form data is collected and logged to the console.
Users can choose to export the form data either as a CSV file or an Excel file.
Usability Improvements:

Enhanced user interaction by resetting the form after a successful submission.

@muhtalhakhan muhtalhakhan merged commit cc5b1ae into muhtalhakhan:main Oct 16, 2024
5 of 6 checks passed
@muhtalhakhan muhtalhakhan added the hacktoberfest-accepted Helps to achieve Hacktoberfest PRs label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Helps to achieve Hacktoberfest PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants