Views: 159

Reply to This

Replies to This Discussion

Q kyaa hoa??

its  good

its good

Hmm...thnx dear for ur cooperation...

html file ?

Yup...this is html file ..

muhammad waleed said:

html file ?


Recheck file Muhammad Wlaeed..

Hnsny kaa zyada show h kyaa???

KTouseef KHAN said:


Ha solution k nai

<title>VU Sign Up Form</title>
<style type="text/css">
form {
position: relative;
margin: 30px auto;
width: 500px;
border: 8px solid #000000;
padding: 5px;
<form name="SignUp">
<h1> VU Sign Up Form</h1>
<table colspan="2" border="0">
<td><input type="text" name="name" value="Your name"></td>
<td>Father Name:</td>
<td><input type="text" name="fathername" value="Your father name"></td>
<td><input type="radio" name="radio" checked value="Male"></td>
<td><input type="radio" name="radio"></td>
<td>Date of Birth</td>
<td><input type="text" name="DOB" value="type your DOB"></td>
<td valign="top">Study Program:</td>
<select name="Studyprogram" size="1" onchange="ShowMessage()">
<option value="BS Software Engineering">BS Software Engineering
<option value="BS Biotechnology" selected>BS Biotechnology
<option value="BS Infomation Technology">BS Infomation Technology
<option value="BS Computer science">BS Computer science
<option value="BS Zoology">BS Zoology
<option value="BS Botany">BS Botany
<td><textarea name="Comments" rows="10" cols="22" value="">Write Something About Yourself Hobbies etc.</textarea></td>
<td><input type="text" name="Email" value=""></td>
<td><input type="Password" name="Password" id="Password1"></td>
<td>Confirm Password:</td>
<td><input type="Password" name="Password" id="Password2"></td>
<input type="submit" name="SignUp" value="Sign Up" onclick="CheckForm()">
<input type="reset" value="Reset">

<script type="text/javascript">
function CheckForm(){
var a = document.getElementById("Password1").value;
var b = document.getElementById("Password2").value;
if (a != b) {
window.alert("No Match of Password & Confirm Password");
return false;
else if (a.length == 0 && b.length == 0) {
window.alert("Password field is Empty! Please enter a Password")
window.alert("Congratulations! You have successfully registered.")
function ShowMessage(){
window.alert("Your study program has been changed");

Reply to Discussion


Sponsored Links

Sponsored Links

© 2018   Created by Ali Khan (Admin).   Powered by

Badges  |  Report an Issue  |  Terms of Service