Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <meta charset="utf-8">
- </head>
- <body>
- <form>
- <label>Podaj nickname <input type="text" name="nick" pattern="[A-Z{1}][a-z0-9]{4,15}"></label>
- <br><br>
- <label>Podaj hasło <input type="password" name="passwd" pattern="(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9]).{6,15}"></label>
- <br><br>
- <label>Podaj kod pocztowy <input type="text" name="postalcode" pattern="[0-9]{2}[\-][0-9]{3}"></label>
- <br><br>
- <label>Podaj dzisiejszą datę <input type="text" name="date" pattern="(0[1-9]|1[0-9]|2[0-9]|3[01])[\.](0[1-9]|1[012])[\.][0-9]{4}"></label>
- <br><br>
- <label>Podaj swój adres IPv4 <input type="text" name="ip" pattern="((^|\.)((25[0-5])|(2[0-4]\d)|(1\d\d)|([1-9]?\d))){4}"></label>
- <br><br>
- <input type="submit"> <input type="reset">
- </form>
- </body>
- </html>
Add Comment
Please, Sign In to add comment