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

Contact form gets submitted even if all the fields are empty #39

Open
AsavariA opened this issue Mar 4, 2023 · 4 comments
Open

Contact form gets submitted even if all the fields are empty #39

AsavariA opened this issue Mar 4, 2023 · 4 comments

Comments

@AsavariA
Copy link

AsavariA commented Mar 4, 2023

Contact form gets submitted even if all the fields are empty, that is not a great user experience. It would be better if there were snackbars raising empty fields issue.

@amangupta679
Copy link

Contact form gets submitted even if all the fields are empty, that is not a great user experience. It would be better if there were snackbars raising empty fields issue.

Yes, you're absolutely right. Having a contact form that gets submitted even if all the fields are empty is not a good user experience. Users might assume that their message was sent successfully, only to later realize that the form was never submitted due to missing fields.

Adding snackbars that raise empty fields issue is a great solution to this problem. When the user clicks the submit button, the form should first check if all the required fields are filled. If any field is empty, a snackbar should appear indicating that the user needs to fill all the required fields before submitting the form.

This provides a clear indication to the user that they need to provide all the required information, making it less likely that they will accidentally submit the form without filling in all the necessary fields. Additionally, this approach can help to reduce the number of form submissions that fail due to missing information, improving the overall user experience.

@amangupta679
Copy link

..

@lohithasiripurapu
Copy link

Hi @AsavariA @amangupta679 I can work on this issue, Can you assign it to me?

@ntehseen
Copy link

hi, I have been trying to render the component but so far no luck. can anyone help me out? Thanks in advance 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants