akshitagupta15june / akshitagupta15june/Moksh

[FEATURE REQUEST] Email Validation in the footer to check for approved domains like .com, .in, etc

Open
#1,605 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
199
Forks
386
PR merge metrics
No merged PRs in 30d

Description

## Description

**Is your feature request related to a problem? Please describe.**
The current system accepts any email address during form submissions, potentially leading to invalid or irrelevant entries. This can create issues with data integrity and hinder communication efforts.

**Describe the solution you'd like**
Implement email validation with domain filtering to ensure submitted email addresses:

- Follow a valid format (username@domain.tld).

- Belong to pre-defined approved domains (e.g., .com, .in, etc.).

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

## Additional Information

**Context**
Provide any additional context or information that helps explain the feature request.

**Potential Implementation** (optional)
If you have any ideas or suggestions on how the feature could be implemented, please share them here.

**Screenshots or Mockups** (optional)
The below image shows that the email id with domain .xyz is a valid email which is not correct.

![image](https://github.com/akshitagupta15june/Moksh/assets/116087736/f1e0754c-e6e1-4a88-83b0-ed14077b119b)

**Priority** (optional)
Please indicate the priority level of this feature request (e.g., High, Medium, Low).

**Additional Notes** (optional)
Add any other notes or comments about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.