Created
March 3, 2020 15:29
-
-
Save NickBaynham/40d3fd81cba262d9cf25912d4887eff7 to your computer and use it in GitHub Desktop.
HTML Form (For Auto Discovery Demo)
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Self Healing Test Page</title> | |
| <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> | |
| <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script> | |
| <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h1>Registration</h1> | |
| <form class="needs-validation" novalidate> | |
| <div class="form-row"> | |
| <div class="col-md-4 mb-3"> | |
| <label for="validationCustom01">First name</label> | |
| <input type="text" class="form-control" id="validationCustom01" placeholder="First name" value="Mark" required> | |
| <div class="valid-feedback"> | |
| Looks good! | |
| </div> | |
| </div> | |
| <div class="col-md-4 mb-3"> | |
| <label for="validationCustom02">Last name</label> | |
| <input type="text" class="form-control" id="validationCustom02" placeholder="Last name" value="Otto" required> | |
| <div class="valid-feedback"> | |
| Looks good! | |
| </div> | |
| </div> | |
| <div class="col-md-4 mb-3"> | |
| <label for="validationCustomUsername">Username</label> | |
| <div class="input-group"> | |
| <div class="input-group-prepend"> | |
| <span class="input-group-text" id="inputGroupPrepend">@</span> | |
| </div> | |
| <input type="text" class="form-control" id="validationCustomUsername" placeholder="Username" aria-describedby="inputGroupPrepend" required> | |
| <div class="invalid-feedback"> | |
| Please choose a username. | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="form-row"> | |
| <div class="col-md-6 mb-3"> | |
| <label for="validationCustom03">City</label> | |
| <input type="text" class="form-control" id="validationCustom03" placeholder="City" required> | |
| <div class="invalid-feedback"> | |
| Please provide a valid city. | |
| </div> | |
| </div> | |
| <div class="col-md-3 mb-3"> | |
| <label for="validationCustom04">State</label> | |
| <input type="text" class="form-control" id="validationCustom04" placeholder="State" required> | |
| <div class="invalid-feedback"> | |
| Please provide a valid state. | |
| </div> | |
| </div> | |
| <div class="col-md-3 mb-3"> | |
| <label for="validationCustom05">Zip</label> | |
| <input type="text" class="form-control" id="validationCustom05" placeholder="Zip" required> | |
| <div class="invalid-feedback"> | |
| Please provide a valid zip. | |
| </div> | |
| </div> | |
| </div> | |
| <div class="form-group"> | |
| <div class="form-check"> | |
| <input class="form-check-input" type="checkbox" value="" id="invalidCheck" required> | |
| <label class="form-check-label" for="invalidCheck"> | |
| Agree to terms and conditions | |
| </label> | |
| <div class="invalid-feedback"> | |
| You must agree before submitting. | |
| </div> | |
| </div> | |
| </div> | |
| <button class="btn btn-primary" type="submit">Register</button> | |
| </form> | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment