Download source code for the registration form or copy the code given below.
Steps for creating registration form in HTML.
- Create a text file with the name "form.html"
- Open the "form.html" file in any editor.
- Copy the code given below and paste it into the "form.html" file.
- Save the code in the file
- Run code in Browser.
<html>
<head>
<title>ROZEE</title>
<script language ="JavaScript">
function check()
{
if(!frm1.t1.value){
alert("PLz Enter Name");
return(false);
}
return(true);
}
function check()
{
if(!frm1.e2.value){
alert("PLz Enter Email");
return(false);
}
return(true);
}
function check()
{
if(!frm1.t3.value){
alert("Please Enter company or organization are you with");
return(false);
}
return(true);
}
function check()
{
if(!frm1.p4.value){
alert("Please Enter Password");
return(false);
}
return(true);
}
function check()
{
if(!frm1.num.value){
alert("Please Enter Phone Number");
return(false);
}
return(true);
}
function check()
{
if(!frm1.cb.value){
alert("something is missing");
return(false);
}
return(true);
}
</script>
</head>
<body align="center" > <br>
<h style="font-size:20px"> You're minutes away from hiring the best! </h> <br> <br>
<img src="fb.png" width="180" hight="100" alt="invalid">
<img src="g.png" width="180" hight="100" alt="invalid">
<form name="frm1" method="post" action="2.php" enctype="multipart/formdata">
<br>Can you tell us your full name?<br><input type="text" name="t1" id="t1" size="40" ><br><br>
Email address you check most often?<br><input type="email" name="e2" id="e2" size="40" ><br><br>
What company or organization are you with?<br><input type="text" name="t3" id="t3" size="40"><br><br>
Now, set a password for your account.<br><input type="password" name="p4" size="40"><br><br>
Country?<br>
<select name="slt" width="300" style="width:300px">
<option value="v1">Pakistan</option>
<option value="v2">UAE</option>
<option value="v3">Ukrain</option>
</select> <br><br> Best number to reach you at?<br>
<select name="slt2" width="300" style="300px">
<option value="v4">+92</option>
<option value="v5">+93</option>
<option value="v6">+94</option>
</select> <input type="number" name="num" id="num" size="30"><br><br>
Please tell us your National Identification number<br>
<input type="text" name="txt" id="txt" placeholder="optional" size="40"> <br> <br>
<input type="checkbox" name="cb" id="cb" value="check">I authorize ROZEE.PK to post jobs of my company on
its website. No other online mediums are
<br>authorized to post these jobs without the explicit approval of my company or ROZEE.PK.
<br> <br>
<input type="submit" name="btn" id="btn" value="Next" onclick="check()">
</form >
</body>
</html>
Download the source code for sign up page
0 Comments
you can ask question related to this post