Commit f292ebcf authored by rama chandra's avatar rama chandra
Browse files

Update signup.html

parent dc3fa186
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="list.css">
<link rel="stylesheet" href="login_style.css" media="all" />
<div class="topnav">
<li ><a href='index.php'>Home</a></li>
<li ><a href='signup.html'>Want To Be a Blood Donar</a></li>
<li ><a href='aboutus.html'>About Us</a></li>
......@@ -24,15 +19,11 @@
<div class="login">
<h2 style="color:white; text-align:center;"></h2>
<h2 style="color:white; text-align:center;"></h2>
<h2 style="color: white">Fill Your Details</h2>
<form method="post" name="myform"action="http://localhost/blood/insert.php" onsubmit="return validateform()">
<input type="text" id="nam"name="uname" placeholder="Username" required="required" />
<p style="color: white"><b>Your Blood Group:</b></p> <select name="blood" id="blood"style="color: red" required="required">
<option value="A+">A+</option>
<option value="A-">A-</option>
<option value="B+">B+</option>
......@@ -41,7 +32,6 @@
<option value="AB-">AB-</option>
<option value="O+">O+</option>
<option value="O-">O-</option>
......@@ -50,27 +40,18 @@
<input type="text" id="mb"name="mobile" placeholder="Mobile Number" required="required" />
<input type="text" id="city"name="city" placeholder="City" required="required" />
<button type="submit" class="btn btn-primary btn-block btn-large" name="signup">Submit</button>
function validateform() {
var x, text,blod,ad1,mb,cit,nam;
// Get the value of the input field with id="numb"
x = document.myform.age.value;
nam = document.myform.uname.value;
ad1 = document.myform.addr1.value;
mb =;
cit =;
alert("Your name should contain more than 4 Letters!!");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment