Skip to content

Commit

Permalink
Used required attribute in the input fields of Newsletter form
Browse files Browse the repository at this point in the history
Signed-off-by: Mukul Kolpe <[email protected]>
MukulKolpe committed Jan 6, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 86ded66 commit 189d294
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions _includes/subscribe.html
Original file line number Diff line number Diff line change
@@ -29,12 +29,12 @@
id="mc-embedded-subscribe-form"
name="mc-embedded-subscribe-form"
class="validate"
novalidate
onsubmit="document.getElementById(mc-embedded-subscribe-form).submit();"
>
<div id="mc_embed_signup_scroll">
<div class="subscribe-inputbox">
<input type="text" value="" placeholder="First Name" name="FNAME" class="NAME" id="mce-FNAME" />
<input type="text" value="" placeholder="Last Name" name="LNAME" class="NAME" id="mce-LNAME" />
<input type="text" value="" placeholder="First Name" name="FNAME" class="NAME" id="mce-FNAME" required />
<input type="text" value="" placeholder="Last Name" name="LNAME" class="NAME" id="mce-LNAME" required />
</div>
<div id="mce-responses" class="clear subscribe-inputbox">
<div
@@ -62,10 +62,6 @@
value=""
/>
</div>
<div
onclick="document.getElementById('mc-embedded-subscribe-form').submit();"
class="subscribe"
>
<input
class="subscribe-button"
style="{{ include.color }}"
@@ -74,7 +70,6 @@
name="subscribe-button"
id="mc-embedded-subscribe"
/>
</div>
</div>
</form>
</div>

0 comments on commit 189d294

Please sign in to comment.