-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also add maxlength to the inputs
- Loading branch information
Showing
3 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,32 +21,32 @@ <h5>Build cool projects and websites.</h5> | |
<div class="row form-row"> | ||
<div class="eight columns offset-by-two"> | ||
<label for="firstName">*First Name</label> | ||
<input class="u-full-width" type="text" placeholder="Daniel" name="firstName" id="firstName" pattern="^[a-zA-Z\u00C0-\u017F' -]+$" data-required> | ||
<input class="u-full-width" type="text" placeholder="Daniel" name="firstName" id="firstName" pattern="[a-zA-Z\u00C0-\u017F' -]+" maxlength="35" data-required> | ||
</div> | ||
</div> | ||
<div class="row form-row"> | ||
<div class="eight columns offset-by-two"> | ||
<label for="lastName">*Last Name</label> | ||
<input class="u-full-width" type="text" placeholder="Awai" name="lastName" id="lastName" pattern="^[a-zA-Z\u00C0-\u017F' -]+$" data-required> | ||
<input class="u-full-width" type="text" placeholder="Awai" name="lastName" id="lastName" pattern="[a-zA-Z\u00C0-\u017F' -]+" maxlength="35" data-required> | ||
</div> | ||
</div> | ||
<div class="row form-row"> | ||
<div class="eight columns offset-by-two"> | ||
<label for="email">*Email<span></span></label> | ||
<input class="u-full-width" type="email" placeholder="[email protected]" name="email" id="email" pattern="^[\w.+-]*\w+@[\w-]+(\.[\w-]+)+$" data-required> | ||
<label for="email">*Email<span class="error"></span></label> | ||
<input class="u-full-width" type="email" placeholder="[email protected]" name="email" id="email" pattern="[\w.+-]*\w+@[\w-]+(\.[\w-]+)+" data-required> | ||
<label> | ||
<input type="checkbox" name="mailchimp" id="mailchimp" checked><small> Subscribe to dvcoders mailing list: meeting updates & events</small> | ||
</label> | ||
</div> | ||
</div> | ||
<div class="row form-row"> | ||
<div class="eight columns offset-by-two"> | ||
<label for="githubUsername">Github Username<span></span></label> | ||
<input class="u-full-width" type="text" placeholder="l33t-h4x0r" id="githubUsername" name="githubUsername" pattern="^[a-zA-Z0-9-]*$"> | ||
<label for="githubUsername">Github Username<span class="error"></span></label> | ||
<input autocapitalize="off" class="u-full-width" type="text" placeholder="l33t-h4x0r" id="githubUsername" name="githubUsername" pattern="[a-zA-Z0-9-]*" maxlength="35"> | ||
</div> | ||
</div> | ||
<div class="row form-row"> | ||
<div class="eight columns offset-by-two" id="other-error"></div> | ||
<div class="eight columns offset-by-two error" id="other-error"></div> | ||
</div> | ||
<hr> | ||
|
||
|