-
Notifications
You must be signed in to change notification settings - Fork 96
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
Solved App crashes when entering an existing email ID saved in info_table
#119
Conversation
@Harshdev098 |
@Harshdev098 |
public/form_filling.html
Outdated
@@ -84,7 +91,7 @@ | |||
<option value="Lakshadweep">Lakshadweep</option> | |||
<option value="Ladakh">Ladakh</option> | |||
<option value="Puducherry">Puducherry</option> | |||
<option value="Jammu and Kashmir">Jammu and Kashmir</option> | |||
<option value="Jammu and Kashmir">Jammu and Kashmir</option |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't delete the tag
public/form_filling.html
Outdated
<option value="Uttar Pradesh">Uttar Pradesh</option> | ||
<option value="Madhya Pradesh">Madhya Pradesh</option> | ||
<option value="Tamil Nadu">Tamil Nadu</option> | ||
<option value="Maharashtra">Maharashtra</option> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also you have duplicated the options in State like UP and MP...
file_upload/form_db.js
Outdated
const sqlInsert = mysql.format(sql, [ | ||
userid, | ||
name, | ||
email, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also make these mysql fields in one line
Also update your PR description to add the issue number you are solving |
@Harshdev098 |
@Harshdev098 |
Will see it |
@Harshdev098 |
Yah, its resolved |
@Harshdev098 |
Pull Request Description: Handle Duplicate Email Registration
Overview
This pull request addresses the issue of duplicate email registrations in the application. It implements a check to verify whether an email address already exists in the database before allowing a user to register. If a duplicate email is detected, the application will now display an appropriate message to the user, preventing the registration process and enhancing the overall user experience.
Changes Made
info_table
during the registration process.Example Error Message
Additional Notes
Fixes #116
@Harshdev098 Pls add labels like label3,gssoc, and hacktoberfest accepted.