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

fixFooter Newsletter Form - Name Field Validation #3367

Merged
merged 1 commit into from
Oct 13, 2024
Merged
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
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5834,7 +5834,8 @@ <h1>Subscribe to Our Newsletter</h1>
<p>Stay updated with our latest news and offers</p>

<form id="newsform" onsubmit="return showSuccessMessage();">
<input type="text" id="name" placeholder="Your Name" required>
<input type="text" id="name" placeholder="Your Name" required required pattern="[a-zA-Z ]+" oninvalid="this.setCustomValidity('Numbers and Symbols are not allowed')"
oninput="this.setCustomValidity('')">
<input type="email" id="email" placeholder="Your Email Address" required>
<input type="submit" value="Subscribe" name="subscribe" class="subscribe" id="subs">
</form>
Expand Down
Loading