0% found this document useful (0 votes)
154 views3 pages

HTML Coding Cs101

The document contains the code for a new user registration form with fields for personal information, account information, and qualifications. It includes fields for name, address, username, password, email, degree, college attended and checkboxes for qualifications. The form uses JavaScript for validation and submits to a registration script.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
154 views3 pages

HTML Coding Cs101

The document contains the code for a new user registration form with fields for personal information, account information, and qualifications. It includes fields for name, address, username, password, email, degree, college attended and checkboxes for qualifications. The form uses JavaScript for validation and submits to a registration script.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

www.vu39.

com/forum Fasco_buk
<HTML>
<HEAD>
<TITLE>New User Registartion form</TITLE>
<SCRIPT>
function checkForm(){
if (document.login.user.value.length < 1) {
window.alert('Empty fields Found!! Please Fill empty fields');
}
else if (document.login.user.value.length > 1) {
window.alert('All Fields are entered');
}
}
function checkForm(){
if (document.login.password.value.length < 1) {
window.alert('Empty fields Found!! Please Fill empty fields');
}
else if (document.login.password.value.length > 1) {
window.alert('All Fields are entered');
}
}
</SCRIPT>
</HEAD>
<BODY>
<FORM name="login" method="post" action=loginScriptURL>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<th align ="left"rowspan="2"><img src="http://icwdic.webcontent-
m1.com/m1/res/resource/contest_logos/vu_logo.PNG" width="141" height="88"
/></th><td align ="right"><font color ="red"><b>Already a user Login here !!!
</b></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;
</tr>
<tr>
<td align="right">User Name<input type="text" name="user" size="20">
password <input type="password" name="password" size="10" maxlength="7">
<INPUT type="submit" name="login" value="login"
onMouseOver="checkForm()">
</TD></TR></TABLE><table border="1" bordercolor="lightblue"cellpadding="0"
cellspacing="0" width="100%">
<tr>
<td width="100%" bgcolor="Darkblue"><font color="white"><b>Personal
Information</b></font></td>
</tr></table></FORM>
<FORM name="submit" method="post" action=submitScriptURL>
www.vu39.com/forum Fasco_buk
<table border="1" bordercolor="lightblue"cellpadding="0" cellspacing="0"
width="100%">
<tr><td width="30%">Name</td><td><input type="text" name="user"
size="20"></td></tr>
<tr><td width="30%">Father's name</td><td><input type="text" name="fathername"
size="20"></td></tr>
<tr><td width="30%">Address</td><td><textarea name="message" cols="20"
rows="2"></textarea></td></tr>
<tr><td width="30%">Upload picture</td><td><input name="fileupload"
id="fileupload" type="file">
</td></tr>
</table>

<table border="1" bordercolor="lightblue"cellpadding="0" cellspacing="0"


width="100%">
<tr>
<td width="100%" bgcolor="Darkblue"><font color="white"><b>Account
Information</b></font></td>
</tr></table>
<table border="1" bordercolor="lightblue"cellpadding="0" cellspacing="0"
width="100%">
<tr><td width="30%">Email</td><td><input type="text" name="email"
size="20"></td></tr>
<tr><td width="30%">Password</td><td><input type="password" name="password"
size="20" maxlength="7"><b><font color="red">7 characters
only*</font></b></td></tr>
<tr><td width="30%">Confirm password</td><td><input type="password"
name="cpassword" size="20" maxlength="7"><b><font color="red">7 characters
only*</font></b></td></tr>
</table>

<table border="1" bordercolor="lightblue"cellpadding="0" cellspacing="0"


width="100%">
<tr>
<td width="100%" bgcolor="Darkblue"><font
color="white"><b>Qualification</b></font></td>
</tr></table>
<table border="1" bordercolor="lightblue"cellpadding="0" cellspacing="0"
width="100%">
<tr><td width="30%">Highest Degree</td><td><select name"degree"><option
value"select" selected> ---Select---
<option value"Phd">Phd
<option value"Masters degree">Masters degree
<option value"Bachelors Degree">Bachelors Degree
www.vu39.com/forum Fasco_buk
<option value"Intermediate">Intermediate
</select></td></tr>
<tr><td width="30%">College/University</td><td><input type="text" name="cvname"
size="20"></td></tr>
<tr><td width="30%">Status</td><td><input type="radio" name="complete"
value="complete" checked>Completed
<input type="radio" name="Continued" value="Continued">Continued</td></tr>
<tr><td width="30%">Degrees achieved</td><td><input type="checkbox"
value="PHD">PHD<br>
<input type="checkbox" value="MPhil">MPhil<br>
<input type="checkbox" value="Masters">Masters<br>
<input type="checkbox" value="Bachelors">Bachelors<br>
<input type="checkbox" value="Intermediate">Intermediate<br>
<input type="checkbox" value="Matriculation">Matriculation </td></tr>
<tr><td width="30%"></td><td><input type="submit"name="reg"
value="Register"><input type="reset" value="Reset"></td></tr>
</table>
<br>
<table border="1" bordercolor="lightblue"cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td width="100%" bgcolor="Darkblue" align="center"><font color="white"><b>2010
All Rights reserved</b></font></td>
</tr></table></FORM>
</BODY>
</HTML>

You might also like