Advertisement
Guest User

Untitled

a guest
Aug 14th, 2014
270
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <script type="text/javascript" src="js/jquery.min.js"></script>
  5. <script type="text/javascript" src="js/form.js"></script>
  6. <link rel="stylesheet" type="text/css" href="style/form.css">
  7. <title>A form</title>
  8. </head>
  9. <body>
  10. <form id="userForm" method="POST" action="form-process.php">
  11. <div>
  12.         <fieldset>
  13.         <legend>User Information</legend>
  14.         <div id="errorDiv"></div>
  15.         <label for="name">Name:* </label>
  16.         <input type="text" id="name" name="name">
  17.         <span class="errorFeedback errorSpan" id="nameError">Name is required</span>
  18.         <br />
  19.         <label for="city">City: </label>
  20.         <input type="text" id="city" name="city">
  21.         <br />
  22.         <label for="state">State: </label>
  23.         <select name="state" id="state">
  24.         <option></option>
  25.         <option>Alabama</option>
  26.         <option>California</option>
  27.         <option>Colorado</option>
  28.         <option>Florida</option>
  29.         <option>Illinois</option>
  30.         <option>New Jersey</option>
  31.         <option>New York</option>
  32.         <option>Wisconsin</option>
  33.         </select>
  34.         <br />
  35.         <label for="zip">ZIP: </label>
  36.         <input type="text" id="zip" name="zip">
  37.         <br />
  38.         <label for="email">E-mail Address:* </label>
  39.         <input type="text" id="email" name="email">
  40.         <span class="errorFeedback errorSpan" id="emailError">E-mail is required</span>
  41.         <br />
  42.         <label for="phone">Telephone Number: </label>
  43.         <input type="text" id="phone" name="phone">
  44.         <span class="errorFeedback errorSpan" id="phoneError">Format: xxx-xxx-xxxx</span>
  45.         <br />
  46.         <label for="work">Number Type:</label>
  47.         <input class="radioButton" type="radio" name="phonetype" id="work" value="work">
  48.         <label class="radioButton" for="work">Work</label>
  49.         <input class="radioButton" type="radio" name="phonetype" id="home" value="home">
  50.         <label class="radioButton" for="home">Home</label>
  51.         <span class="errorFeedback errorSpan phoneTypeError" id="phonetypeError">Please choose an option</span>
  52.         <br />
  53.         <label for="password1">Password:* </label>
  54.         <input type="password" id="password1" name="password1">
  55.         <span class="errorFeedback errorSpan" id="password1Error">Password required</span>
  56.         <br />
  57.         <label for="password2">Verify Password:* </label>
  58.         <input type="password" id="password2" name="password2">
  59.         <span class="errorFeedback errorSpan" id="password2Error">Passwords don't match</span>
  60.        <br />
  61.        <input type="submit" id="submit" name="submit">
  62.        </fieldset>
  63. </div>
  64. </form>
  65. </body>
  66. </html>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement