Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // HTML5 Validation Required Field Custom Message
- <input type='text' onkeydown="return AlphaSpace(event)" name="city_name" class="form-control" oninvalid="this.setCustomValidity('Please Enter City Name')" oninput="this.setCustomValidity('')" required>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement