-
Notifications
You must be signed in to change notification settings - Fork 132
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
form validation #420
form validation #420
Conversation
There are few other fields also. Share the website link so I can review your changes. |
but the page is running locally right? |
can you specify which ones so I'll work on it |
Check everything from top to bottom. State, district, name, document uploaded, if selected other in disability, radio buttons, etc. Are all the mandatory fields really mandatory? Is the form gets submitted without non-mandatory inputs? Check everything. And specific sweet alert for all inputs. |
ok , I'll check for all except non-mandatory |
But if someone has filled non-mandatory fields, it should be proper. |
alright, i'll check those as well |
you need to deploy your forked repo to any static deployment services like netlify and gh pages after that only we can verify the changes done by you. |
https://formvalidate12.netlify.app/ |
@dilroseR districts are not displaying in the drop-down list. |
it wasn't there before also |
should i do that as well? |
It was always present. |
alright, i'll have a look |
If we select option 3A in the declaration section still it prompts to select option 3a or 3b. Email and mobile are not mandatory still it prompts to enter an email address. The form gets accepted without: |
ok thanks i'll check |
i've sent you a video. kindly check that on slack |
@dilroseR this problem is not occurring in the link you shared https://formvalidate12.netlify.app/ compare your new changes, |
are you talking about fetch and merge? |
No, I mean the changes in this PR are not creating this problem, so check the problems in your recent updates in your local project. |
ill try creating a new deployment link with the new changes then pls check |
https://blissful-roentgen-bf6449.netlify.app/ |
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.
LGTM
Wrong inputs and specific prompts is what I noticed but the issue was only about prompting for the mandatory fields that info isn't filled yet |
Even that condition is not fulfilled, the form gets reset without all inputs. And the issue is to completely validate every input field with proper input, error messages, etc. |
the form gets resetted whenever an alert appears. kindly help me on how to tackle this |
Fixes #30
Describe the changes you've made
created form validation on email, phone no and pincode
Describe if there is any unusual behaviour of your code(Write
NA
if there isn't)NA
Additional context (OPTIONAL)
Add any other context or screenshots about the feature request here.
WhatsApp.Video.2021-07-24.at.4.46.46.PM.mp4
Checklist