Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 15th, 2012  |  syntax: HTML  |  size: 1.20 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!DOCTYPE html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Test form</title>
  5. <script type="text/javascript" src="externalJava.js"></script>
  6. </head>
  7.  
  8. <body>
  9. <form id="signup" action="somephpthing.php" method="post" onsubmit="return false">
  10.     <label>
  11.                 First Name
  12.                 <input type="text" name="firstName" />
  13.         </label><br>
  14.    
  15.         <label>
  16.                 Last Name
  17.                 <input type="text" name="lastName" />
  18.         </ label><br>
  19.        
  20.     <label>
  21.                 Password
  22.                 <input type="password" name="password"  />
  23.         </ label><br>
  24.        
  25.     <label>
  26.                 Confirm Password
  27.                 <input type="password" name="confirmPassword"  />
  28.         </ label><br>
  29.        
  30.     <label>
  31.                 Email Address
  32.                 <input type="text" name="emailAddress"  />
  33.         </ label><br>
  34.        
  35.     <label>
  36.                 Confirm Email Address
  37.                 <input type="text" name="confirmEmailAddress"  />
  38.         </ label><br>
  39.        
  40.     <label>
  41.                 Phone Number
  42.                 <input type="text" name="phoneNumber"  />
  43.         </ label><br>
  44.        
  45.     <label>
  46.                 <input type="checkbox" name="newsletter" value="yes" />
  47.                 Yes, I'd like to sign up to the clubs newsletter
  48.         </label>
  49.        
  50.         <input type="submit" value="Submit" onclick="validation(document.getElementById('signup'))"/>  
  51.        
  52. </form>
  53.    
  54. </body>
  55. </html>