## Pull Request: Advanced, User-Friendly Project Submission Form Validation#401
Open
divysaxena24 wants to merge 1 commit intopavitraag:mainfrom
Open
## Pull Request: Advanced, User-Friendly Project Submission Form Validation#401divysaxena24 wants to merge 1 commit intopavitraag:mainfrom
divysaxena24 wants to merge 1 commit intopavitraag:mainfrom
Conversation
Updated Form Validations
|
@divysaxena24 is attempting to deploy a commit to the pavitraag's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue
Closes #376
Summary
This pull request replaces the default Bootstrap validation of the project submission form with custom, advanced client-side validation using JavaScript. It enhances user experience by showing one error at a time, improves visual feedback with a modern red color, and ensures higher-quality data submission.
Description
Currently, the form uses Bootstrap’s required attributes and relies on browser-native validation, which only displays generic messages like "Please fill out this field." This provides minimal guidance to users and does not enforce more complex validation logic or polished UI feedback.
This PR implements custom JavaScript validation to deliver user-friendly, contextual feedback for each field. The error messages are styled for better visual clarity and accessibility, and only one error is shown at a time to prevent overwhelming the user.
Implementation Details
Screenshots
Testing
Ready for review and merge to improve form UX and input correctness.