Posts

Showing posts from February 18, 2013

Code 4 form validation ( Simple )

<html> <head>       <title>Login Form</title> </head> <body <center> <h1 style="background-color:white;">log in form </h1> <hr style="color:white;"> <form method="post" action="abc.php"> First  Name : &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp<input type="text" name="text"/> <br> <br> Last Name : &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp<input type="text" name="text"/> <br> <br>     Password: &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp &nbsp<input type="password" name="pwd"/> <br> <br> Retype-Password: &nbsp<input type="password" name="pwd"/> <br> <br> Email : &nbsp...

Code 4 form validation by Bilal

<html> <head>       <title>Registration Form</title> </head> <body style="background-color:     #5F9EA0;"> <center> <h1 style="background-color:silver;"><blink>Registration Form</blink> </h1> <hr style="color:green;"> <form method="post" action="abc.php"> First  Name : &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp<input type="text" name="text"/> <br> <br> Last Name : &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp<input type="text" name="text"/> <br> <br>     Password: &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp &nbsp<input type="password" name="pwd"/> <br> <br> Retype-Passwo...

Code 4 form validation by Atiq

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Msc I.T F11 A32</title> <style type="text/css"> .font{     font-size:18px; } </style> <script type="text/javascript"> function validate(){  var fname = document.getElementById("first").value;  var lname = document.getElementById("last").value;  var dob = document.getElementById("dob").value;  var address = document.getElementById("address").value;  var country = document.getElementById("country").value;  var city = document.getElementById("city").value;  var email = document.getElementById("email").value;  var pass = document.getElementById("pa...