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

added email validation wherever required #259

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion home-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h3>Call Us</h3>
<input type="text" name="name" class="form-control" id="name" placeholder="Your Name" required />
</div>
<div class="col-md-6 form-group mt-3 mt-md-0">
<input type="email" class="form-control" name="email" id="email" placeholder="Your Email" required />
<input type="email" class="form-control" name="email" id="email" placeholder="Your Email" pattern='[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$' required />
</div>
</div>
<div class="form-group mt-3">
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ <h3>Call Us</h3>
<input type="text" name="name" class="form-control" id="name" placeholder="Your Name" required />
</div>
<div class="col-md-6 form-group mt-3 mt-md-0">
<input type="email" class="form-control" name="email" id="email" placeholder="Your Email" required />
<input type="email" class="form-control" name="email" id="email" placeholder="Your Email" pattern='[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$' required />
</div>
</div>
<div class="form-group mt-3">
Expand Down Expand Up @@ -1396,7 +1396,7 @@ <h4>Our Outreach</h4>
<h4>Subscribe</h4>
<p>Stay Updated for our Exciting events</p>
<form action="" method="post">
<input type="email" name="email" /><input type="submit" value="Subscribe" />
<input type="email" name="email" pattern='[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$' /><input type="submit" value="Subscribe" />
</form>
</div>
</div>
Expand Down Expand Up @@ -2751,7 +2751,7 @@ <h3>Call Us</h3>
<input type="text" name="name" class="form-control" id="name" placeholder="Your Name" required />
</div>
<div class="col-md-6 form-group mt-3 mt-md-0">
<input type="email" class="form-control" name="email" id="email" placeholder="Your Email" required />
<input type="email" class="form-control" name="email" id="email" placeholder="Your Email" pattern='[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$' required />
</div>
</div>
<div class="form-group mt-3">
Expand Down Expand Up @@ -2846,7 +2846,7 @@ <h4>Our Outreach</h4>
<h4>Subscribe</h4>
<p>Stay Updated for our Exciting events</p>
<form action="" method="post">
<input type="email" name="email" /><input type="submit" value="Subscribe" />
<input type="email" name="email" pattern='[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$' /><input type="submit" value="Subscribe" />
</form>
</div>
</div>
Expand Down