Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.73 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Application Form</title>
  7. <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" />
  8. <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" rel="stylesheet" />
  9. <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js" rel="stylesheet" />
  10. <style>
  11. body{
  12. background: rgb(190, 190, 190);
  13. margin: 0px;
  14. padding: 0px;
  15. }
  16. </style>
  17. </head>
  18. <body>
  19. <div class="container">
  20. <form role="form" action="http://192.168.160.36/FormEcho.aspx" method="post">
  21. <div class="border-bottom pt-4 pb-2 mb-3">
  22. <h2>Application Form</h2>
  23. </div>
  24. <div class="form-group">
  25. <div class="row">
  26. <label for="firstName" class="col-md-2 col-form-label text-right">First Name</label>
  27. <div class="col-md-8"><input type="text" name="firstName" id="firstName" class="form-control" required></div>
  28. </div>
  29. <div class="row justify-content-end">
  30. <div style="visibility: hidden" class="hide col-md-10 text-danger col-form-label" id="firstName_Error"><i class="fa fa-exclamation-triangle"></i> Error: firstName MinimumSize = 3</div>
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <div class="row">
  35. <label for="lastName" class="col-md-2 col-form-label text-right">Last Name</label>
  36. <div class="col-md-8"><input type="text" name="lastName" id="lastName" class="form-control" required/></div>
  37. </div>
  38. <div class="row justify-content-end">
  39. <div style="visibility: hidden" class="col-md-10 hide text-danger col-form-label" id="lastName_Error"><i class="fa fa-exclamation-triangle"></i> Error: lastName MinimumSize = 3</div>
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <div class="row">
  44. <label for="password" class="col-md-2 col-form-label text-right">Password</label>
  45. <div class="col-md-8"><input type="password" name="password" id="password" class="form-control" required/></div>
  46. </div>
  47. <div class="row justify-content-end">
  48. <div style="visibility: hidden" class="col-md-10 hide text-danger col-form-label" id="password_Error"><i class="fa fa-exclamation-triangle"></i> Error: password MinimumSize = 5</div>
  49. </div>
  50. </div>
  51. <div class="form-group">
  52. <div class="row">
  53. <label for="comments" class="col-md-2 col-form-label text-right">Comments<br/><small>(Min: 30chars)</small></label>
  54. <div class="col-md-8"><textarea rows="3" name="comments" id="comments" class="form-control"></textarea></div>
  55. </div>
  56. <div class="form-row justify-content-end">
  57. <div style="visibility: hidden" class="col-md-10 hide text-danger col-form-label" id="comments_Error"><i class="fa fa-exclamation-triangle"></i> Error: Comments MinimumSize = 30</div>
  58. </div>
  59. </div>
  60. <div>
  61. <div class="form-group">
  62. <div class="row">
  63. <div class="col-md-3 col-form-label text-right" style="font-size: larger;"><input type="radio" name="gender" value="male">Male</div>
  64. <div class="col-md-2 col-form-label text-left" style="font-size: larger;"><input type="radio" name="gender" value="female">Female</div>
  65. <div class="form-box col-md-2 col-form-label text-right" style="font-size: larger;">Age</div>
  66. <select class="form-box col-form-label text-left">
  67. <option value="0">Under 20</option>
  68. <option value="1">20-40</option>
  69. <option value="1">40-60</option>
  70. <option value="1">Over 60</option>
  71. </select>
  72. </div>
  73.  
  74. </div>
  75. </div>
  76.  
  77. <hr />
  78. <div class="text-center">
  79. <input type="submit" value="Send" class="btn btn-primary" onclick="return validaFormulario()" />
  80. <input type="reset" value="Clean" class="btn btn-secondary" onclick="cleanErrorMessages()" />
  81. </div>
  82. </form>
  83. </div>
  84. <script src="formulario.js"></script>
  85. </body>
  86. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement